From b199e81f5e07f89252ecc646546a58f8541b5f9a Mon Sep 17 00:00:00 2001 From: "Kaleb S. KEITHLEY" Date: Mon, 22 Aug 2016 13:22:02 -0400 Subject: glusterd (store): 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: I9de669261b91e89a719997b54adeea893f8c3bee BUG: 1369124 Signed-off-by: Kaleb S. KEITHLEY Reviewed-on: http://review.gluster.org/15264 CentOS-regression: Gluster Build System NetBSD-regression: NetBSD Build System Smoke: Gluster Build System Reviewed-by: Prashanth Pai Reviewed-by: Niels de Vos --- xlators/mgmt/glusterd/src/glusterd-store.c | 2 -- 1 file changed, 2 deletions(-) diff --git a/xlators/mgmt/glusterd/src/glusterd-store.c b/xlators/mgmt/glusterd/src/glusterd-store.c index ba02bfac12d..b529e039c97 100644 --- a/xlators/mgmt/glusterd/src/glusterd-store.c +++ b/xlators/mgmt/glusterd/src/glusterd-store.c @@ -2180,7 +2180,6 @@ int glusterd_store_retrieve_snapd (glusterd_volinfo_t *volinfo) { int ret = -1; - int exists = 0; char *key = NULL; char *value = NULL; char volpath[PATH_MAX] = {0,}; @@ -3200,7 +3199,6 @@ int32_t glusterd_find_brick_mount_path (char *brick_path, char **brick_mount_path) { char *ptr = NULL; - char *save_ptr = NULL; int32_t ret = -1; xlator_t *this = NULL; -- cgit