summaryrefslogtreecommitdiffstats
path: root/xlators/features/quota/src/quotad.c
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/quotad.c
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/quotad.c')
-rw-r--r--xlators/features/quota/src/quotad.c2
1 files changed, 0 insertions, 2 deletions
diff --git a/xlators/features/quota/src/quotad.c b/xlators/features/quota/src/quotad.c
index dc2665e9622..2c9949fa127 100644
--- a/xlators/features/quota/src/quotad.c
+++ b/xlators/features/quota/src/quotad.c
@@ -106,11 +106,9 @@ qd_nameless_lookup (xlator_t *this, call_frame_t *frame, gfs3_lookup_req *req,
int op_errno = 0, ret = -1;
loc_t loc = {0, };
quotad_aggregator_state_t *state = NULL;
- quota_priv_t *priv = NULL;
xlator_t *subvol = NULL;
char *volume_uuid = NULL;
- priv = this->private;
state = frame->root->state;
frame->root->op = GF_FOP_LOOKUP;