diff options
author | Alexis La Goutte <alexis.lagoutte@gmail.com> | 2016-04-19 14:04:40 +0200 |
---|---|---|
committer | Anders Broman <a.broman58@gmail.com> | 2016-04-25 10:53:22 +0000 |
commit | c86a0888fe52a925f9a819c4f37e34188d5239c5 (patch) | |
tree | adbbe4d876448b0cf627afb01e6f1b425eaaf8cf /epan/dissectors/packet-gdsdb.c | |
parent | 2bfcf34d6020a90631933aefc18b5d8e45815a95 (diff) |
gdsdb: fix 'tvb/pinfo' was marked unused but was used [-Werror,-Wused-but-marked-unused]
Change-Id: I53e99b2fc2a0549984d39a9f1fb1de610d4e645c
Reviewed-on: https://code.wireshark.org/review/15096
Reviewed-by: Anders Broman <a.broman58@gmail.com>
Diffstat (limited to 'epan/dissectors/packet-gdsdb.c')
-rw-r--r-- | epan/dissectors/packet-gdsdb.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/epan/dissectors/packet-gdsdb.c b/epan/dissectors/packet-gdsdb.c index 7705395877..f02945f91f 100644 --- a/epan/dissectors/packet-gdsdb.c +++ b/epan/dissectors/packet-gdsdb.c @@ -508,7 +508,7 @@ static int add_byte_array(proto_tree *tree, int hf_len, int hf_byte, tvbuff_t *t } static int -gdsdb_dummy(tvbuff_t *tvb _U_, packet_info *pinfo _U_, proto_tree *tree _U_, int offset _U_) +gdsdb_dummy(tvbuff_t *tvb, packet_info *pinfo _U_, proto_tree *tree _U_, int offset _U_) { /* Ignore data */ return tvb_reported_length(tvb); @@ -619,7 +619,7 @@ gdsdb_request(tvbuff_t *tvb, packet_info *pinfo _U_, proto_tree *tree, int offse } static int -gdsdb_attach(tvbuff_t *tvb, packet_info *pinfo _U_, proto_tree *tree, int offset) +gdsdb_attach(tvbuff_t *tvb, packet_info *pinfo, proto_tree *tree, int offset) { int total_length = 12; int size, length = tvb_reported_length_remaining(tvb, offset); @@ -1157,7 +1157,7 @@ gdsdb_exec_immediate2(tvbuff_t *tvb, packet_info *pinfo _U_, proto_tree *tree, i } static int -gdsdb_prepare(tvbuff_t *tvb, packet_info *pinfo _U_, proto_tree *tree, int offset) +gdsdb_prepare(tvbuff_t *tvb, packet_info *pinfo, proto_tree *tree, int offset) { int total_length = 20; int length = tvb_reported_length_remaining(tvb, offset); |