summaryrefslogtreecommitdiffstats
path: root/xlators
diff options
context:
space:
mode:
authorRaghavendra Talur <rtalur@redhat.com>2016-03-03 16:09:27 +0530
committerJeff Darcy <jdarcy@redhat.com>2016-03-03 07:35:11 -0800
commit6a406b87aa3cd8c086e998fe681197915bd436c2 (patch)
tree718e9579993263cdacba17a298df195d4a29088a /xlators
parent15be1c1a00089ad4d9de18f1351c17d067949b61 (diff)
tier: Fix unused-but-set-variable warning
Change-Id: Ie5eaf1075b1c9c29dd7d85bf7b61b22e1fbce422 BUG: 1314291 Signed-off-by: Raghavendra Talur <rtalur@redhat.com> Reviewed-on: http://review.gluster.org/13591 Reviewed-by: hari gowtham <hari.gowtham005@gmail.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: Jeff Darcy <jdarcy@redhat.com>
Diffstat (limited to 'xlators')
-rw-r--r--xlators/cluster/dht/src/tier-common.c2
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 08664ae6a16..20d3f24d3bf 100644
--- a/xlators/cluster/dht/src/tier-common.c
+++ b/xlators/cluster/dht/src/tier-common.c
@@ -30,12 +30,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;