From 5751f294fc8c6ea256fc5a842c7a6eef14d35fd3 Mon Sep 17 00:00:00 2001 From: "Kaleb S. KEITHLEY" Date: Mon, 22 Aug 2016 12:11:24 -0400 Subject: afr: fix unused variable warnings/errors http://review.gluster.org/14085 fixes a/the "leak" - via the generated rpc/xdr headers - of pragmas that mask these warnings. However 14085 won't pass the smoke test until all the warnings are fixed. Change-Id: I98e3308a2548ae095048caa99c86edec15b5e782 BUG: 1369124 Signed-off-by: Kaleb S. KEITHLEY Reviewed-on: http://review.gluster.org/15241 CentOS-regression: Gluster Build System Reviewed-by: Krutika Dhananjay Smoke: Gluster Build System Reviewed-by: Ravishankar N Reviewed-by: Anuradha Talur Reviewed-by: Pranith Kumar Karampuri NetBSD-regression: NetBSD Build System --- xlators/cluster/afr/src/afr-self-heal-entry.c | 1 - 1 file changed, 1 deletion(-) (limited to 'xlators/cluster/afr/src') diff --git a/xlators/cluster/afr/src/afr-self-heal-entry.c b/xlators/cluster/afr/src/afr-self-heal-entry.c index 985cebe76b9..bc0cf25281b 100644 --- a/xlators/cluster/afr/src/afr-self-heal-entry.c +++ b/xlators/cluster/afr/src/afr-self-heal-entry.c @@ -659,7 +659,6 @@ afr_selfheal_entry_do_subvol (call_frame_t *frame, xlator_t *this, xlator_t *subvol = NULL; afr_private_t *priv = NULL; gf_boolean_t mismatch = _gf_false; - afr_local_t *iter_local = NULL; afr_local_t *local = NULL; loc_t loc = {0,}; -- cgit