diff options
author | Alexis La Goutte <alexis.lagoutte@gmail.com> | 2016-04-19 14:21:04 +0200 |
---|---|---|
committer | Anders Broman <a.broman58@gmail.com> | 2016-04-25 10:58:48 +0000 |
commit | 0d608caa9e439d9a2795eb9bc07ff551a79ab694 (patch) | |
tree | 03d4fc210d335f64c7afe70199c0f7240feaebe2 | |
parent | 2155758caeab579a12c217038d84fee8b1a9bde2 (diff) |
glusterd: fix 'data' was marked unused but was used [-Werror,-Wused-but-marked-unused]
Change-Id: Id3aa0972503ffcd238148ab0283ec4ea1a0a478c
Reviewed-on: https://code.wireshark.org/review/15099
Reviewed-by: Anders Broman <a.broman58@gmail.com>
-rw-r--r-- | epan/dissectors/packet-glusterd.c | 28 |
1 files changed, 14 insertions, 14 deletions
diff --git a/epan/dissectors/packet-glusterd.c b/epan/dissectors/packet-glusterd.c index 31f5e9b621..53183f177f 100644 --- a/epan/dissectors/packet-glusterd.c +++ b/epan/dissectors/packet-glusterd.c @@ -119,7 +119,7 @@ gluster_gd_mgmt_dissect_uuid(tvbuff_t *tvb, proto_tree *tree, int hfindex, static int gluster_gd_mgmt_probe_reply(tvbuff_t *tvb, packet_info *pinfo, - proto_tree *tree, void* data _U_) + proto_tree *tree, void* data) { int offset = 0; @@ -149,7 +149,7 @@ gluster_gd_mgmt_probe_call(tvbuff_t *tvb, packet_info *pinfo _U_, static int gluster_gd_mgmt_friend_add_reply(tvbuff_t *tvb, - packet_info *pinfo, proto_tree *tree, void* data _U_) + packet_info *pinfo, proto_tree *tree, void* data) { int offset = 0; @@ -182,7 +182,7 @@ gluster_gd_mgmt_friend_add_call(tvbuff_t *tvb, /* gluster_gd_mgmt_cluster_lock_reply is used for LOCK and UNLOCK */ static int gluster_gd_mgmt_cluster_lock_reply(tvbuff_t *tvb, - packet_info *pinfo, proto_tree *tree, void* data _U_) + packet_info *pinfo, proto_tree *tree, void* data) { int offset = 0; @@ -203,7 +203,7 @@ gluster_gd_mgmt_cluster_lock_call(tvbuff_t *tvb, static int gluster_gd_mgmt_stage_op_reply(tvbuff_t *tvb, packet_info *pinfo, - proto_tree *tree, void* data _U_) + proto_tree *tree, void* data) { int offset = 0; offset = gluster_gd_mgmt_dissect_uuid(tvb, tree, hf_glusterd_uuid, @@ -230,7 +230,7 @@ gluster_gd_mgmt_stage_op_call(tvbuff_t *tvb, static int gluster_gd_mgmt_commit_op_reply(tvbuff_t *tvb, packet_info *pinfo, - proto_tree *tree, void* data _U_) + proto_tree *tree, void* data) { int offset = 0; offset = gluster_gd_mgmt_dissect_uuid(tvb, tree, hf_glusterd_uuid, @@ -258,7 +258,7 @@ gluster_gd_mgmt_commit_op_call(tvbuff_t *tvb, static int gluster_gd_mgmt_friend_update_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_gd_mgmt_dissect_uuid(tvb, tree, hf_glusterd_uuid, @@ -286,7 +286,7 @@ gluster_gd_mgmt_friend_update_call(tvbuff_t *tvb, /* Below procedure is used for version 2 */ static int glusterd_mgmt_2_cluster_lock_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_gd_mgmt_dissect_uuid(tvb, tree, hf_glusterd_uuid, @@ -306,7 +306,7 @@ glusterd_mgmt_2_cluster_lock_call(tvbuff_t *tvb, static int glusterd_mgmt_2_stage_op_reply(tvbuff_t *tvb, packet_info *pinfo, - proto_tree *tree, void* data _U_) + proto_tree *tree, void* data) { int offset = 0; offset = gluster_gd_mgmt_dissect_uuid(tvb, tree, hf_glusterd_uuid, @@ -335,7 +335,7 @@ glusterd_mgmt_2_stage_op_call(tvbuff_t *tvb, static int glusterd_mgmt_2_commit_op_reply(tvbuff_t *tvb, packet_info *pinfo, - proto_tree *tree, void* data _U_) + proto_tree *tree, void* data) { int offset = 0; offset = gluster_gd_mgmt_dissect_uuid(tvb, tree, hf_glusterd_uuid, @@ -379,8 +379,8 @@ glusterd_mgmt_3_lock_call(tvbuff_t *tvb, packet_info *pinfo _U_, } static int -glusterd_mgmt_3_lock_reply(tvbuff_t *tvb, packet_info *pinfo _U_, - proto_tree *tree, void* data _U_) +glusterd_mgmt_3_lock_reply(tvbuff_t *tvb, packet_info *pinfo, + proto_tree *tree, void* data) { int offset = 0; offset = gluster_gd_mgmt_dissect_uuid(tvb, tree, hf_glusterd_uuid, @@ -407,7 +407,7 @@ glusterd_mgmt_3_pre_val_call(tvbuff_t *tvb, static int glusterd_mgmt_3_pre_val_reply(tvbuff_t *tvb, packet_info *pinfo, - proto_tree *tree, void* data _U_) + proto_tree *tree, void* data) { int offset = 0; offset = gluster_gd_mgmt_dissect_uuid(tvb, tree, hf_glusterd_uuid, @@ -422,7 +422,7 @@ glusterd_mgmt_3_pre_val_reply(tvbuff_t *tvb, packet_info *pinfo, static int glusterd_mgmt_3_commit_reply(tvbuff_t *tvb, packet_info *pinfo, - proto_tree *tree, void* data _U_) + proto_tree *tree, void* data) { int offset = 0; offset = gluster_gd_mgmt_dissect_uuid(tvb, tree, hf_glusterd_uuid, @@ -454,7 +454,7 @@ glusterd_mgmt_3_post_val_call(tvbuff_t *tvb, static int glusterd_brick_2_common_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); |