diff options
author | Raghavendra Talur <rtalur@redhat.com> | 2016-03-03 16:09:27 +0530 |
---|---|---|
committer | Pranith Kumar Karampuri <pkarampu@redhat.com> | 2016-03-03 19:44:40 -0800 |
commit | e42c9a9787da89f48b199b4efd05d0d784d2d393 (patch) | |
tree | e66a8e612f2adfb48e1275a5cfea75afc427b009 /xlators | |
parent | 812e7321d3c56d329526628fe96a8f6fabea75ca (diff) |
tier: Fix unused-but-set-variable warning
Backport of http://review.gluster.org/13591
Change-Id: I20c205849f511acf4797a8a53ea59bfaad60bd35
BUG: 1314548
Signed-off-by: Raghavendra Talur <rtalur@redhat.com>
Reviewed-on: http://review.gluster.org/13598
Smoke: Gluster Build System <jenkins@build.gluster.com>
CentOS-regression: Gluster Build System <jenkins@build.gluster.com>
NetBSD-regression: NetBSD Build System <jenkins@build.gluster.org>
Reviewed-by: Pranith Kumar Karampuri <pkarampu@redhat.com>
Diffstat (limited to 'xlators')
-rw-r--r-- | xlators/cluster/dht/src/tier-common.c | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/xlators/cluster/dht/src/tier-common.c b/xlators/cluster/dht/src/tier-common.c index 6a62f42916e..ae428064a7d 100644 --- a/xlators/cluster/dht/src/tier-common.c +++ b/xlators/cluster/dht/src/tier-common.c @@ -35,12 +35,10 @@ tier_link_cbk (call_frame_t *frame, void *cookie, xlator_t *this, struct iatt *postparent, dict_t *xdata) { dht_local_t *local = NULL; - dht_conf_t *conf = NULL; loc_t *oldloc = NULL; loc_t *newloc = NULL; local = frame->local; - conf = this->private; oldloc = &local->loc; newloc = &local->loc2; |