aboutsummaryrefslogtreecommitdiffstats
path: root/epan/dissectors/packet-pcp.c
diff options
context:
space:
mode:
authorAlexis La Goutte <alexis.lagoutte@gmail.com>2017-07-27 10:36:28 +0200
committerMichael Mann <mmann78@netscape.net>2017-08-09 00:53:27 +0000
commitb6d080a04e3553caa08af276881863948472fc19 (patch)
tree92de7dafae95b906550a23e9fba6d931cfab8a76 /epan/dissectors/packet-pcp.c
parentb4320e6662be0594beab5d9ab075e9b42867b5c7 (diff)
pcp: fix 'pinfo' was marked unused but was used [-Wused-but-marked-unused]
Change-Id: I2cd58b58ff53951044ac13caffdc901d8c1b65bd Reviewed-on: https://code.wireshark.org/review/23019 Reviewed-by: Michael Mann <mmann78@netscape.net>
Diffstat (limited to 'epan/dissectors/packet-pcp.c')
-rw-r--r--epan/dissectors/packet-pcp.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/epan/dissectors/packet-pcp.c b/epan/dissectors/packet-pcp.c
index 2c77173832..81f3bebe01 100644
--- a/epan/dissectors/packet-pcp.c
+++ b/epan/dissectors/packet-pcp.c
@@ -1528,7 +1528,7 @@ static int dissect_pcp_message_instance(tvbuff_t *tvb, packet_info *pinfo, proto
these routines are called by dissect_pcp_message_* as needed
*/
-static int dissect_pcp_partial_pmid(tvbuff_t *tvb, packet_info *pinfo _U_, proto_tree *tree, int offset)
+static int dissect_pcp_partial_pmid(tvbuff_t *tvb, packet_info *pinfo, proto_tree *tree, int offset)
{
proto_item *pcp_pmid_item;
proto_tree *pcp_pmid_tree;
@@ -1581,7 +1581,7 @@ static int dissect_pcp_partial_when(tvbuff_t *tvb, packet_info *pinfo _U_, proto
return offset;
}
-static int dissect_pcp_partial_features(tvbuff_t *tvb, packet_info *pinfo _U_, proto_tree *tree, int offset)
+static int dissect_pcp_partial_features(tvbuff_t *tvb, packet_info *pinfo, proto_tree *tree, int offset)
{
guint16 feature_flags;
const gchar *feature_flags_string;