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>
This commit is contained in:
Alexis La Goutte 2016-04-19 14:21:04 +02:00 committed by Anders Broman
parent 2155758cae
commit 0d608caa9e
1 changed files with 14 additions and 14 deletions

View File

@ -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);