summaryrefslogtreecommitdiffstats
path: root/xlators/mgmt/glusterd/src/glusterd-volume-ops.c
diff options
context:
space:
mode:
authorPrasanna Kumar Kalever <prasanna.kalever@redhat.com>2015-08-15 01:29:31 +0530
committerJeff Darcy <jdarcy@redhat.com>2016-04-04 14:40:49 -0700
commit3394c555171775c6f74c2c556265b044a70a2fa9 (patch)
tree4a3a0e793e108c35a3155745e5fbe9f898ac203f /xlators/mgmt/glusterd/src/glusterd-volume-ops.c
parent6c76c96ee48f6ad1148e64dbe02f02c7aff4b9ce (diff)
glusterd: clean dead initializations
This patch cleans unused variable initialization as well as their declarations which are no where used in the code Change-Id: I784165fc6e91297758079699dd9583d5203b7793 BUG: 1253831 Signed-off-by: Prasanna Kumar Kalever <prasanna.kalever@redhat.com> Reviewed-on: http://review.gluster.org/11929 Tested-by: Prasanna Kumar Kalever <pkalever@redhat.com> Smoke: Gluster Build System <jenkins@build.gluster.com> NetBSD-regression: NetBSD Build System <jenkins@build.gluster.org> CentOS-regression: Gluster Build System <jenkins@build.gluster.com> Reviewed-by: Kaleb KEITHLEY <kkeithle@redhat.com> Reviewed-by: Jeff Darcy <jdarcy@redhat.com>
Diffstat (limited to 'xlators/mgmt/glusterd/src/glusterd-volume-ops.c')
-rw-r--r--xlators/mgmt/glusterd/src/glusterd-volume-ops.c1
1 files changed, 0 insertions, 1 deletions
diff --git a/xlators/mgmt/glusterd/src/glusterd-volume-ops.c b/xlators/mgmt/glusterd/src/glusterd-volume-ops.c
index ad4bae455e7..2ecadce20fb 100644
--- a/xlators/mgmt/glusterd/src/glusterd-volume-ops.c
+++ b/xlators/mgmt/glusterd/src/glusterd-volume-ops.c
@@ -765,7 +765,6 @@ glusterd_handle_heal_enable_disable (rpcsvc_request_t *req, dict_t *dict,
{
gf_xl_afr_op_t heal_op = GF_SHD_OP_INVALID;
int ret = 0;
- xlator_t *this = THIS;
char *key = NULL;
char *value = NULL;