aboutsummaryrefslogtreecommitdiffstats
path: root/epan/dissectors/packet-distcc.c
diff options
context:
space:
mode:
authorAlexis La Goutte <alexis.lagoutte@gmail.com>2016-04-15 19:45:03 +0200
committerAnders Broman <a.broman58@gmail.com>2016-04-18 11:21:05 +0000
commite42e796c898505db155e43a7e4bf427ac4667df5 (patch)
tree007ef5a8fb6c441d94430807de086c7db295aa0f /epan/dissectors/packet-distcc.c
parent9f75dfa12032705b4107d84b4185c9df970ae2ad (diff)
distcc: fix 'pinfo' was marked unused but was used [-Werror,-Wused-but-marked-unused]
Change-Id: I2c469ed7eb6b6377e1c9dcfe062a3d86864316ed Reviewed-on: https://code.wireshark.org/review/14980 Reviewed-by: Anders Broman <a.broman58@gmail.com>
Diffstat (limited to 'epan/dissectors/packet-distcc.c')
-rw-r--r--epan/dissectors/packet-distcc.c8
1 files changed, 4 insertions, 4 deletions
diff --git a/epan/dissectors/packet-distcc.c b/epan/dissectors/packet-distcc.c
index 88294b7098..97c184c581 100644
--- a/epan/dissectors/packet-distcc.c
+++ b/epan/dissectors/packet-distcc.c
@@ -114,7 +114,7 @@ dissect_distcc_stat(tvbuff_t *tvb, packet_info *pinfo, proto_tree *tree, int off
}
static int
-dissect_distcc_argc(tvbuff_t *tvb, packet_info *pinfo _U_, proto_tree *tree, int offset, guint32 parameter)
+dissect_distcc_argc(tvbuff_t *tvb, packet_info *pinfo, proto_tree *tree, int offset, guint32 parameter)
{
proto_tree_add_uint(tree, hf_distcc_argc, tvb, offset-12, 12, parameter);
@@ -124,7 +124,7 @@ dissect_distcc_argc(tvbuff_t *tvb, packet_info *pinfo _U_, proto_tree *tree, int
}
static int
-dissect_distcc_argv(tvbuff_t *tvb, packet_info *pinfo _U_, proto_tree *tree, int offset, gint parameter)
+dissect_distcc_argv(tvbuff_t *tvb, packet_info *pinfo, proto_tree *tree, int offset, gint parameter)
{
char argv[256];
int argv_len;
@@ -151,7 +151,7 @@ dissect_distcc_argv(tvbuff_t *tvb, packet_info *pinfo _U_, proto_tree *tree, int
}
static int
-dissect_distcc_serr(tvbuff_t *tvb, packet_info *pinfo _U_, proto_tree *tree, int offset, gint parameter)
+dissect_distcc_serr(tvbuff_t *tvb, packet_info *pinfo, proto_tree *tree, int offset, gint parameter)
{
char argv[256];
int argv_len;
@@ -180,7 +180,7 @@ dissect_distcc_serr(tvbuff_t *tvb, packet_info *pinfo _U_, proto_tree *tree, int
}
static int
-dissect_distcc_sout(tvbuff_t *tvb, packet_info *pinfo _U_, proto_tree *tree, int offset, gint parameter)
+dissect_distcc_sout(tvbuff_t *tvb, packet_info *pinfo, proto_tree *tree, int offset, gint parameter)
{
char argv[256];
int argv_len;