summaryrefslogtreecommitdiffstats
path: root/xlators/features
diff options
context:
space:
mode:
authorKaleb S. KEITHLEY <kkeithle@redhat.com>2016-08-22 12:11:24 -0400
committerNiels de Vos <ndevos@redhat.com>2016-08-25 05:37:53 -0700
commit6aeff261a18de1b47553f4d5c6efe5c2e86f60a2 (patch)
tree5e81933de3f3de6da83022dbc129f1b0b0b43b97 /xlators/features
parente68a8eb6c5846d7386e97b0f0f23b49c5d38a6b5 (diff)
core: 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: I866d811e448067405af5b797eb9914c9c5e855cb BUG: 1369124 Signed-off-by: Kaleb S. KEITHLEY <kkeithle@redhat.com> Reviewed-on: http://review.gluster.org/15248 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> Reviewed-by: Poornima G <pgurusid@redhat.com> Reviewed-by: Niels de Vos <ndevos@redhat.com>
Diffstat (limited to 'xlators/features')
-rw-r--r--xlators/features/leases/src/leases.h1
1 files changed, 0 insertions, 1 deletions
diff --git a/xlators/features/leases/src/leases.h b/xlators/features/leases/src/leases.h
index df5e8beb85c..703c4d809cd 100644
--- a/xlators/features/leases/src/leases.h
+++ b/xlators/features/leases/src/leases.h
@@ -94,7 +94,6 @@ do { \
call_stub_t *__stub = NULL; \
fop_stub_t *blk_fop = NULL; \
lease_inode_ctx_t *lease_ctx = NULL; \
- int __ret = 0; \
\
__stub = fop_##fop_name##_stub (frame, default_##fop_name##_resume, \
params); \