diff options
author | Alexis La Goutte <alexis.lagoutte@gmail.com> | 2016-04-19 14:46:08 +0200 |
---|---|---|
committer | Anders Broman <a.broman58@gmail.com> | 2016-04-25 10:59:58 +0000 |
commit | 47769fb1dfdb75928bc0fc8bd7c1d186e42d5c84 (patch) | |
tree | e49ef55086435980a49de69e47dda394620eeeb7 | |
parent | a22db0f7a5b9146d0b87a2945ed0f8cf261b4915 (diff) |
gmhdr: fix 'pinfo' was marked unused but was used [-Werror,-Wused-but-marked-unused]
Change-Id: Ib86b2665ad8000b6c4a4ce69b3284a7f0e235115
Reviewed-on: https://code.wireshark.org/review/15102
Reviewed-by: Anders Broman <a.broman58@gmail.com>
-rw-r--r-- | epan/dissectors/packet-gmhdr.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/epan/dissectors/packet-gmhdr.c b/epan/dissectors/packet-gmhdr.c index acc0f8b2a1..66ce5a3fac 100644 --- a/epan/dissectors/packet-gmhdr.c +++ b/epan/dissectors/packet-gmhdr.c @@ -128,7 +128,7 @@ static expert_field ei_gmhdr_field_length_invalid = EI_INIT; static expert_field ei_gmhdr_len = EI_INIT; static void -dissect_gmtlv(tvbuff_t *tvb, packet_info *pinfo _U_, proto_tree *gmhdr_tree, guint offset, guint16 length) +dissect_gmtlv(tvbuff_t *tvb, packet_info *pinfo, proto_tree *gmhdr_tree, guint offset, guint16 length) { proto_tree *ti; proto_tree *srcport_tree; @@ -339,7 +339,7 @@ dissect_gmtimestamp_trailer(tvbuff_t *tvb, packet_info *pinfo _U_, proto_tree *t } static int -dissect_gmtrailer(tvbuff_t *tvb, packet_info *pinfo _U_, proto_tree *tree, void *data _U_) +dissect_gmtrailer(tvbuff_t *tvb, packet_info *pinfo, proto_tree *tree, void *data _U_) { proto_tree *ti; guint tvblen, length; |