summaryrefslogtreecommitdiffstats
path: root/xlators/cluster/afr/src/afr-inode-write.c
diff options
context:
space:
mode:
authorKaleb S. KEITHLEY <kkeithle@redhat.com>2016-09-13 05:52:09 -0400
committerKaleb KEITHLEY <kkeithle@redhat.com>2016-09-13 10:04:44 -0700
commit50c0790bf1c1dca7b4e69546b1f6fe71785ecf2a (patch)
tree546f8f9610682f6a22a603c969a2ff5053e65a1a /xlators/cluster/afr/src/afr-inode-write.c
parent7982de17f47ab2f8ddc4789a525754a56b26b325 (diff)
xlators/afr: 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: I55d4106ac828380f3315f5a21593390905d3ab3a Signed-off-by: Kaleb S. KEITHLEY <kkeithle@redhat.com> Reviewed-on: http://review.gluster.org/15476 Reviewed-by: Ravishankar N <ravishankar@redhat.com> 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/cluster/afr/src/afr-inode-write.c')
-rw-r--r--xlators/cluster/afr/src/afr-inode-write.c1
1 files changed, 0 insertions, 1 deletions
diff --git a/xlators/cluster/afr/src/afr-inode-write.c b/xlators/cluster/afr/src/afr-inode-write.c
index 200b420f5f0..3da34644500 100644
--- a/xlators/cluster/afr/src/afr-inode-write.c
+++ b/xlators/cluster/afr/src/afr-inode-write.c
@@ -362,7 +362,6 @@ afr_writev_wind_cbk (call_frame_t *frame, void *cookie, xlator_t *this,
call_frame_t *fop_frame = NULL;
int child_index = (long) cookie;
int call_count = -1;
- int ret = 0;
local = frame->local;