From 71d3c5850d33a60115e561f88072826fd81bc1a0 Mon Sep 17 00:00:00 2001 From: "Kaleb S. KEITHLEY" Date: Tue, 13 Sep 2016 05:55:45 -0400 Subject: xlators/decompounder: fix unused variable warnings/errors http://review.gluster.org/14085 fixes a "pragma leak" where the generated rpc/xdr headers have a pair of pragmas that disable these warnings. With the warnings disabled, many unused variables have crept into the code base. And 14085 won't pass its own smoke test until all these warnings are fixed. BUG: 1369124 Change-Id: Ia4d11871838b749d15dd1942d0a93594e90124e0 Signed-off-by: Kaleb S. KEITHLEY Reviewed-on: http://review.gluster.org/15480 Smoke: Gluster Build System NetBSD-regression: NetBSD Build System CentOS-regression: Gluster Build System --- xlators/performance/decompounder/src/decompounder.c | 2 -- 1 file changed, 2 deletions(-) (limited to 'xlators/performance') diff --git a/xlators/performance/decompounder/src/decompounder.c b/xlators/performance/decompounder/src/decompounder.c index cd353b78ec3..b899b399152 100644 --- a/xlators/performance/decompounder/src/decompounder.c +++ b/xlators/performance/decompounder/src/decompounder.c @@ -15,8 +15,6 @@ void dc_local_cleanup (dc_local_t *local) { - int i = 0; - compound_args_cbk_cleanup (local->compound_rsp); return; } -- cgit