summaryrefslogtreecommitdiffstats
path: root/xlators/mgmt/glusterd
diff options
context:
space:
mode:
authorKaleb S. KEITHLEY <kkeithle@redhat.com>2016-08-22 13:22:03 -0400
committerAtin Mukherjee <amukherj@redhat.com>2016-08-25 23:32:09 -0700
commit12a3733fe82cb6e9e9704c80e75fa5efd56c3144 (patch)
tree05072fb9d2f10d65ce945672ce54b1fcd8c26c7c /xlators/mgmt/glusterd
parent40e6580ec90b249a34e3a99ad53c5861edb15aad (diff)
glusterd (quotad-svc): 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: I186bdee9f7f72251f552a95a0c08a9be9aec7c83 BUG: 1369124 Signed-off-by: Kaleb S. KEITHLEY <kkeithle@redhat.com> Reviewed-on: http://review.gluster.org/15272 NetBSD-regression: NetBSD Build System <jenkins@build.gluster.org> CentOS-regression: Gluster Build System <jenkins@build.gluster.org> Smoke: Gluster Build System <jenkins@build.gluster.org> Reviewed-by: Atin Mukherjee <amukherj@redhat.com>
Diffstat (limited to 'xlators/mgmt/glusterd')
-rw-r--r--xlators/mgmt/glusterd/src/glusterd-quotad-svc.c2
1 files changed, 0 insertions, 2 deletions
diff --git a/xlators/mgmt/glusterd/src/glusterd-quotad-svc.c b/xlators/mgmt/glusterd/src/glusterd-quotad-svc.c
index 3c457be96e5..e0eb38f494a 100644
--- a/xlators/mgmt/glusterd/src/glusterd-quotad-svc.c
+++ b/xlators/mgmt/glusterd/src/glusterd-quotad-svc.c
@@ -30,8 +30,6 @@ glusterd_quotadsvc_build (glusterd_svc_t *svc)
int glusterd_quotadsvc_init (glusterd_svc_t *svc)
{
int ret = -1;
- char volfile[PATH_MAX] = {0,};
- glusterd_conf_t *conf = THIS->private;
ret = glusterd_svc_init (svc, quotad_svc_name);
if (ret)