From 6a406b87aa3cd8c086e998fe681197915bd436c2 Mon Sep 17 00:00:00 2001 From: Raghavendra Talur Date: Thu, 3 Mar 2016 16:09:27 +0530 Subject: tier: Fix unused-but-set-variable warning Change-Id: Ie5eaf1075b1c9c29dd7d85bf7b61b22e1fbce422 BUG: 1314291 Signed-off-by: Raghavendra Talur Reviewed-on: http://review.gluster.org/13591 Reviewed-by: hari gowtham Smoke: Gluster Build System NetBSD-regression: NetBSD Build System CentOS-regression: Gluster Build System Reviewed-by: Jeff Darcy --- xlators/cluster/dht/src/tier-common.c | 2 -- 1 file changed, 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; -- cgit