summaryrefslogtreecommitdiffstats
path: root/xlators
diff options
context:
space:
mode:
authorKaleb S. KEITHLEY <kkeithle@redhat.com>2016-08-22 13:22:02 -0400
committerAtin Mukherjee <amukherj@redhat.com>2016-08-26 01:56:24 -0700
commitca2c94bfcf96c44abb7168a9cb9c99a40e566280 (patch)
tree86bb1b7238b724f5f6ae3e56e520c9917b3d3629 /xlators
parentb40893d1bb4c626cb89cd86a1ec301459be5f991 (diff)
glusterd: 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: I212abb47d9f35922b3f8253137ebab6841a53eed BUG: 1369124 Signed-off-by: Kaleb S. KEITHLEY <kkeithle@redhat.com> Reviewed-on: http://review.gluster.org/15261 NetBSD-regression: NetBSD Build System <jenkins@build.gluster.org> CentOS-regression: Gluster Build System <jenkins@build.gluster.org> Reviewed-by: Atin Mukherjee <amukherj@redhat.com> Smoke: Gluster Build System <jenkins@build.gluster.org> Reviewed-by: Prashanth Pai <ppai@redhat.com>
Diffstat (limited to 'xlators')
-rw-r--r--xlators/mgmt/glusterd/src/glusterd-brick-ops.c6
1 files changed, 0 insertions, 6 deletions
diff --git a/xlators/mgmt/glusterd/src/glusterd-brick-ops.c b/xlators/mgmt/glusterd/src/glusterd-brick-ops.c
index 24317726079..7be1d382d5f 100644
--- a/xlators/mgmt/glusterd/src/glusterd-brick-ops.c
+++ b/xlators/mgmt/glusterd/src/glusterd-brick-ops.c
@@ -2037,12 +2037,7 @@ glusterd_op_stage_remove_brick (dict_t *dict, char **op_errstr)
gf1_op_commands cmd = GF_OP_CMD_NONE;
char *task_id_str = NULL;
xlator_t *this = NULL;
- int i = 1;
- char key[256] = {0,};
- char *brick = NULL;
- glusterd_brickinfo_t *brickinfo = NULL;
gsync_status_param_t param = {0,};
- glusterd_peerinfo_t *peerinfo = NULL;
this = THIS;
GF_ASSERT (this);
@@ -2433,7 +2428,6 @@ glusterd_op_add_brick (dict_t *dict, char **op_errstr)
xlator_t *this = NULL;
char *bricks = NULL;
int32_t count = 0;
- int32_t replica_count = 0;
this = THIS;
GF_ASSERT (this);