summaryrefslogtreecommitdiffstats
path: root/xlators/features
diff options
context:
space:
mode:
authorPrasanna Kumar Kalever <prasanna.kalever@redhat.com>2015-08-17 11:16:27 +0530
committerKaleb KEITHLEY <kkeithle@redhat.com>2016-05-06 02:31:31 -0700
commitdb610ee85447de413e56b7cee26175fcb6dbb04a (patch)
treea6a728bf82545558d5fd200d01b48ff4cce91af7 /xlators/features
parentef0db52bc55a51fe5e3856235aed0230b6a188fe (diff)
remove unused variables
Cleaning dead initializations. Change-Id: I53ae506593cd10441d61df3b2c9249544a7871f7 BUG: 1254067 Signed-off-by: Prasanna Kumar Kalever <prasanna.kalever@redhat.com> Reviewed-on: http://review.gluster.org/11932 Tested-by: Prasanna Kumar Kalever <pkalever@redhat.com> NetBSD-regression: NetBSD Build System <jenkins@build.gluster.org> CentOS-regression: Gluster Build System <jenkins@build.gluster.com> Smoke: Gluster Build System <jenkins@build.gluster.com> Reviewed-by: Raghavendra Talur <rtalur@redhat.com>
Diffstat (limited to 'xlators/features')
-rw-r--r--xlators/features/changelog/lib/src/gf-changelog-reborp.c1
-rw-r--r--xlators/features/quota/src/quota.c1
2 files changed, 0 insertions, 2 deletions
diff --git a/xlators/features/changelog/lib/src/gf-changelog-reborp.c b/xlators/features/changelog/lib/src/gf-changelog-reborp.c
index 4c49e9a533f..28ebcfd0146 100644
--- a/xlators/features/changelog/lib/src/gf-changelog-reborp.c
+++ b/xlators/features/changelog/lib/src/gf-changelog-reborp.c
@@ -103,7 +103,6 @@ gf_changelog_reborp_rpcsvc_notify (rpcsvc_t *rpc, void *mydata,
xlator_t *this = NULL;
gf_private_t *priv = NULL;
gf_changelog_t *entry = NULL;
- char sock[UNIX_PATH_MAX] = {0,};
if (!(event == RPCSVC_EVENT_ACCEPT ||
event == RPCSVC_EVENT_DISCONNECT))
diff --git a/xlators/features/quota/src/quota.c b/xlators/features/quota/src/quota.c
index 47436fd5783..e67a4325fc7 100644
--- a/xlators/features/quota/src/quota.c
+++ b/xlators/features/quota/src/quota.c
@@ -4293,7 +4293,6 @@ quota_statfs_cbk (call_frame_t *frame, void *cookie, xlator_t *this,
int64_t blocks = 0;
quota_inode_ctx_t *ctx = NULL;
int ret = 0;
- quota_local_t *local = frame->local;
inode = cookie;