From a22db0f7a5b9146d0b87a2945ed0f8cf261b4915 Mon Sep 17 00:00:00 2001 From: Alexis La Goutte Date: Tue, 19 Apr 2016 14:44:39 +0200 Subject: 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 --- epan/dissectors/packet-glusterfs_hndsk.c | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) (limited to 'epan/dissectors/packet-glusterfs_hndsk.c') 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); } -- cgit v1.2.3