- packet-dcerpc.c:4664:51: error: unused parameter 'pinfo' [-Werror=unused-parameter]
- packet-dcerpc.c:5083:83: error: unused parameter 'offset' [-Werror=unused-parameter]
- Replace some deprecated APIs

Change-Id: I12cbc92a1f07252ebc3ff638b0a8436b2e226a18
Reviewed-on: https://code.wireshark.org/review/5017
Reviewed-by: Anders Broman <a.broman58@gmail.com>
This commit is contained in:
AndersBroman 2014-10-31 09:58:47 +01:00 committed by Anders Broman
parent 31e3fc0fd0
commit c427839a66
1 changed files with 2 additions and 2 deletions

View File

@ -4661,7 +4661,7 @@ dissect_dcerpc_cn_rts(tvbuff_t *tvb, gint offset, packet_info *pinfo,
}
static gboolean
is_dcerpc(tvbuff_t *tvb, int offset, packet_info *pinfo)
is_dcerpc(tvbuff_t *tvb, int offset, packet_info *pinfo _U_)
{
guint8 rpc_ver;
guint8 rpc_ver_minor;
@ -5080,7 +5080,7 @@ dissect_dcerpc_cn_bs(tvbuff_t *tvb, packet_info *pinfo, proto_tree *tree, void *
}
static guint
get_dcerpc_pdu_len(packet_info *pinfo _U_, tvbuff_t *tvb, int offset)
get_dcerpc_pdu_len(packet_info *pinfo _U_, tvbuff_t *tvb, int offset _U_)
{
guint8 drep[4];
guint16 frag_len;