From 12a3733fe82cb6e9e9704c80e75fa5efd56c3144 Mon Sep 17 00:00:00 2001 From: "Kaleb S. KEITHLEY" Date: Mon, 22 Aug 2016 13:22:03 -0400 Subject: 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 Reviewed-on: http://review.gluster.org/15272 NetBSD-regression: NetBSD Build System CentOS-regression: Gluster Build System Smoke: Gluster Build System Reviewed-by: Atin Mukherjee --- xlators/mgmt/glusterd/src/glusterd-quotad-svc.c | 2 -- 1 file changed, 2 deletions(-) (limited to 'xlators/mgmt/glusterd') 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) -- cgit