summaryrefslogtreecommitdiffstats
path: root/xlators/performance/decompounder
diff options
context:
space:
mode:
authorKaleb S. KEITHLEY <kkeithle@redhat.com>2016-09-13 05:55:45 -0400
committerKaleb KEITHLEY <kkeithle@redhat.com>2016-09-13 10:12:32 -0700
commit71d3c5850d33a60115e561f88072826fd81bc1a0 (patch)
tree134255c6b87543bcad42a62ab82d38477d6c6a93 /xlators/performance/decompounder
parent50c0790bf1c1dca7b4e69546b1f6fe71785ecf2a (diff)
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 <kkeithle@redhat.com> Reviewed-on: http://review.gluster.org/15480 Smoke: Gluster Build System <jenkins@build.gluster.org> NetBSD-regression: NetBSD Build System <jenkins@build.gluster.org> CentOS-regression: Gluster Build System <jenkins@build.gluster.org>
Diffstat (limited to 'xlators/performance/decompounder')
-rw-r--r--xlators/performance/decompounder/src/decompounder.c2
1 files changed, 0 insertions, 2 deletions
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;
}