From e42c9a9787da89f48b199b4efd05d0d784d2d393 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 Backport of http://review.gluster.org/13591 Change-Id: I20c205849f511acf4797a8a53ea59bfaad60bd35 BUG: 1314548 Signed-off-by: Raghavendra Talur Reviewed-on: http://review.gluster.org/13598 Smoke: Gluster Build System CentOS-regression: Gluster Build System NetBSD-regression: NetBSD Build System Reviewed-by: Pranith Kumar Karampuri --- xlators/cluster/dht/src/tier-common.c | 2 -- 1 file changed, 2 deletions(-) (limited to 'xlators') 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; -- cgit