summaryrefslogtreecommitdiffstats
path: root/xlators/features/quota/src/quota.h
diff options
context:
space:
mode:
authorKaleb S. KEITHLEY <kkeithle@redhat.com>2016-08-22 12:11:24 -0400
committerRaghavendra G <rgowdapp@redhat.com>2016-08-27 04:10:34 -0700
commit225d8034354a233bbb9f1c6fd86b40562efd0ae9 (patch)
treef24c0fa24ec0624d4460a0dacdd97a887c77e5ab /xlators/features/quota/src/quota.h
parent6c283f107b646405936520e2549510115bf2ef64 (diff)
quota: 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: Ic5c1e20468d47ccb5243b8e99f946fd31eb737b8 BUG: 1369124 Signed-off-by: Kaleb S. KEITHLEY <kkeithle@redhat.com> Reviewed-on: http://review.gluster.org/15250 CentOS-regression: Gluster Build System <jenkins@build.gluster.org> NetBSD-regression: NetBSD Build System <jenkins@build.gluster.org> Smoke: Gluster Build System <jenkins@build.gluster.org> Reviewed-by: Manikandan Selvaganesh <mselvaga@redhat.com> Reviewed-by: Raghavendra G <rgowdapp@redhat.com>
Diffstat (limited to 'xlators/features/quota/src/quota.h')
-rw-r--r--xlators/features/quota/src/quota.h4
1 files changed, 0 insertions, 4 deletions
diff --git a/xlators/features/quota/src/quota.h b/xlators/features/quota/src/quota.h
index 6f74da789b6..79afb28cfe8 100644
--- a/xlators/features/quota/src/quota.h
+++ b/xlators/features/quota/src/quota.h
@@ -86,11 +86,9 @@
#define QUOTA_STACK_WIND_TAIL(frame, params...) \
do { \
quota_local_t *_local = NULL; \
- xlator_t *_this = NULL; \
\
if (frame) { \
_local = frame->local; \
- _this = frame->this; \
frame->local = NULL; \
} \
\
@@ -103,10 +101,8 @@
#define QUOTA_STACK_UNWIND(fop, frame, params...) \
do { \
quota_local_t *_local = NULL; \
- xlator_t *_this = NULL; \
if (frame) { \
_local = frame->local; \
- _this = frame->this; \
frame->local = NULL; \
} \
STACK_UNWIND_STRICT (fop, frame, params); \