aboutsummaryrefslogtreecommitdiffstats
path: root/epan/dissectors/packet-glusterfs_hndsk.c
diff options
context:
space:
mode:
authorAlexis La Goutte <alexis.lagoutte@gmail.com>2016-04-19 14:44:39 +0200
committerAnders Broman <a.broman58@gmail.com>2016-04-25 10:59:33 +0000
commita22db0f7a5b9146d0b87a2945ed0f8cf261b4915 (patch)
tree58dac1aa679eae8fd448e10c4a8f5d25c3b9ad87 /epan/dissectors/packet-glusterfs_hndsk.c
parentd9b40c701b048840a5900fe2da7839b2867e55a5 (diff)
glusterfs (hndsk): fix 'pinfo/data' was marked unused but was used [-Werror,-Wused-but-marked-unused]
Change-Id: I5177c0bfdfb010a76ee2763030a32eafb9a6d1f2 Reviewed-on: https://code.wireshark.org/review/15101 Reviewed-by: Anders Broman <a.broman58@gmail.com>
Diffstat (limited to 'epan/dissectors/packet-glusterfs_hndsk.c')
-rw-r--r--epan/dissectors/packet-glusterfs_hndsk.c12
1 files changed, 6 insertions, 6 deletions
diff --git a/epan/dissectors/packet-glusterfs_hndsk.c b/epan/dissectors/packet-glusterfs_hndsk.c
index 0f19826a56..15e59d1116 100644
--- a/epan/dissectors/packet-glusterfs_hndsk.c
+++ b/epan/dissectors/packet-glusterfs_hndsk.c
@@ -75,7 +75,7 @@ static gint hf_gluster_cbk_xdata = -1;
/* procedures for GLUSTER_HNDSK_PROGRAM */
static int
gluster_hndsk_setvolume_reply(tvbuff_t *tvb, packet_info *pinfo,
- proto_tree *tree, void* data _U_)
+ proto_tree *tree, void* data)
{
int offset = 0;
offset = gluster_dissect_common_reply(tvb, offset, pinfo, tree, data);
@@ -93,7 +93,7 @@ gluster_hndsk_setvolume_call(tvbuff_t *tvb,
static int
gluster_hndsk_2_setvolume_reply(tvbuff_t *tvb, packet_info *pinfo,
- proto_tree *tree, void* data _U_)
+ proto_tree *tree, void* data)
{
int offset = 0;
offset = gluster_dissect_common_reply(tvb, offset, pinfo, tree, data);
@@ -111,7 +111,7 @@ gluster_hndsk_2_setvolume_call(tvbuff_t *tvb,
static int
gluster_hndsk_2_getspec_reply(tvbuff_t *tvb, packet_info *pinfo,
- proto_tree *tree, void* data _U_)
+ proto_tree *tree, void* data)
{
int offset = 0;
offset = gluster_dissect_common_reply(tvb, offset, pinfo, tree, data);
@@ -140,7 +140,7 @@ gluster_hndsk_2_getspec_call(tvbuff_t *tvb,
static int
gluster_hndsk_2_set_lk_ver_reply(tvbuff_t *tvb, packet_info *pinfo,
- proto_tree *tree, void* data _U_)
+ proto_tree *tree, void* data)
{
int offset = 0;
offset = gluster_dissect_common_reply(tvb, offset, pinfo, tree, data);
@@ -177,7 +177,7 @@ gluster_hndsk_2_event_notify_call(tvbuff_t *tvb,
static int
gluster_hndsk_2_event_notify_reply(tvbuff_t *tvb,
- packet_info *pinfo, proto_tree *tree, void* data _U_)
+ packet_info *pinfo, proto_tree *tree, void* data)
{
int offset = 0;
offset = gluster_dissect_common_reply(tvb, offset, pinfo, tree, data);
@@ -209,7 +209,7 @@ gluster_cbk_cache_invalidation_call(tvbuff_t *tvb,
static int
gluster_hndsk_dissect_common_reply(tvbuff_t *tvb,
- packet_info *pinfo, proto_tree *tree, void* data _U_)
+ packet_info *pinfo, proto_tree *tree, void* data)
{
return gluster_dissect_common_reply(tvb, 0, pinfo, tree, data);
}