diff options
author | Alexis La Goutte <alexis.lagoutte@gmail.com> | 2016-04-15 19:19:33 +0200 |
---|---|---|
committer | Anders Broman <a.broman58@gmail.com> | 2016-04-18 11:24:06 +0000 |
commit | 7d64f6048782c89f80e48fe0b3db530124526b69 (patch) | |
tree | 52aa0bdf3a8047de8edced31df820366c2d891e9 | |
parent | 9013e06a3212f1c6db3d59530e80902a36248911 (diff) |
mgmt (DCERPC): fix 'tvb/offset...' was marked unused but was used [-Werror,-Wused-but-marked-unused]
Change-Id: I78d030190c420559f70214da2fb34af2f10234ed
Reviewed-on: https://code.wireshark.org/review/14969
Reviewed-by: Anders Broman <a.broman58@gmail.com>
-rw-r--r-- | epan/dissectors/packet-dcerpc-mgmt.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/epan/dissectors/packet-dcerpc-mgmt.c b/epan/dissectors/packet-dcerpc-mgmt.c index bb6638349c..f0d9cdab9b 100644 --- a/epan/dissectors/packet-dcerpc-mgmt.c +++ b/epan/dissectors/packet-dcerpc-mgmt.c @@ -43,7 +43,7 @@ static e_guid_t uuid_mgmt = { 0xafa8bd80, 0x7d8a, 0x11c9, { 0xbe, 0xf4, 0x08, 0x static guint16 ver_mgmt = 1; static int -mgmtrpc_dissect_inq_princ_name_response(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info *di _U_, guint8 *drep _U_) +mgmtrpc_dissect_inq_princ_name_response(tvbuff_t *tvb, int offset, packet_info *pinfo, proto_tree *tree, dcerpc_info *di, guint8 *drep) { offset = dissect_ndr_cvstring(tvb, offset, pinfo, tree, di, drep, @@ -55,7 +55,7 @@ mgmtrpc_dissect_inq_princ_name_response(tvbuff_t *tvb _U_, int offset _U_, packe return offset; } static int -mgmtrpc_dissect_inq_princ_name_request(tvbuff_t *tvb _U_, int offset _U_, packet_info *pinfo _U_, proto_tree *tree _U_, dcerpc_info *di _U_, guint8 *drep _U_) +mgmtrpc_dissect_inq_princ_name_request(tvbuff_t *tvb, int offset, packet_info *pinfo, proto_tree *tree, dcerpc_info *di, guint8 *drep) { offset = dissect_ndr_uint32(tvb, offset, pinfo, tree, di, drep, hf_mgmt_proto, NULL); offset = dissect_ndr_uint32(tvb, offset, pinfo, tree, di, drep, hf_mgmt_princ_size, NULL); |