diff options
author | Kaleb S. KEITHLEY <kkeithle@redhat.com> | 2016-08-22 13:22:03 -0400 |
---|---|---|
committer | Atin Mukherjee <amukherj@redhat.com> | 2016-08-25 23:25:57 -0700 |
commit | eed005649dabc35234cc217b89fbee92aeea0ba9 (patch) | |
tree | 19385c59a375ef975ecd9980b9bcfa52a7a0f532 | |
parent | 79e9aa5d7a24275f857d2cf23f910f63c53e9d4e (diff) |
glusterd (syncop): fix unused variable warnings/errors
http://review.gluster.org/14085 fixes a/the "leak" - via the
generated rpc/xdr headers - of pragmas that mask these warnings.
However 14085 won't pass the smoke test until all the warnings are
fixed.
Change-Id: I40da2a344be3da4bda2370b1ae1eb77dc00b033e
BUG: 1369124
Signed-off-by: Kaleb S. KEITHLEY <kkeithle@redhat.com>
Reviewed-on: http://review.gluster.org/15281
CentOS-regression: Gluster Build System <jenkins@build.gluster.org>
NetBSD-regression: NetBSD Build System <jenkins@build.gluster.org>
Smoke: Gluster Build System <jenkins@build.gluster.org>
Reviewed-by: Atin Mukherjee <amukherj@redhat.com>
-rw-r--r-- | xlators/mgmt/glusterd/src/glusterd-syncop.c | 4 |
1 files changed, 0 insertions, 4 deletions
diff --git a/xlators/mgmt/glusterd/src/glusterd-syncop.c b/xlators/mgmt/glusterd/src/glusterd-syncop.c index 7aeda77a59d..70d10208584 100644 --- a/xlators/mgmt/glusterd/src/glusterd-syncop.c +++ b/xlators/mgmt/glusterd/src/glusterd-syncop.c @@ -326,7 +326,6 @@ gd_syncop_mgmt_v3_lock_cbk_fn (struct rpc_req *req, struct iovec *iov, { int ret = -1; struct syncargs *args = NULL; - glusterd_peerinfo_t *peerinfo = NULL; gd1_mgmt_v3_lock_rsp rsp = {{0},}; call_frame_t *frame = NULL; int op_ret = -1; @@ -430,7 +429,6 @@ gd_syncop_mgmt_v3_unlock_cbk_fn (struct rpc_req *req, struct iovec *iov, { int ret = -1; struct syncargs *args = NULL; - glusterd_peerinfo_t *peerinfo = NULL; gd1_mgmt_v3_unlock_rsp rsp = {{0},}; call_frame_t *frame = NULL; int op_ret = -1; @@ -1652,11 +1650,9 @@ gd_brick_op_phase (glusterd_op_t op, dict_t *op_ctx, dict_t *req_dict, int ret = -1; rpc_clnt_t *rpc = NULL; dict_t *rsp_dict = NULL; - glusterd_conf_t *conf = NULL; int32_t cmd = GF_OP_CMD_NONE; this = THIS; - conf = this->private; rsp_dict = dict_new (); if (!rsp_dict) { ret = -1; |