summaryrefslogtreecommitdiffstats
path: root/xlators
diff options
context:
space:
mode:
authorKaleb S. KEITHLEY <kkeithle@redhat.com>2016-08-22 13:22:02 -0400
committerNiels de Vos <ndevos@redhat.com>2016-08-29 08:18:01 -0700
commitb199e81f5e07f89252ecc646546a58f8541b5f9a (patch)
treea0224d14eab82f009944a39e0adb2a983f356864 /xlators
parentb25299b74389bfaef45a3b9034a0cad628c2a342 (diff)
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 <kkeithle@redhat.com> Reviewed-on: http://review.gluster.org/15264 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: Prashanth Pai <ppai@redhat.com> Reviewed-by: Niels de Vos <ndevos@redhat.com>
Diffstat (limited to 'xlators')
-rw-r--r--xlators/mgmt/glusterd/src/glusterd-store.c2
1 files changed, 0 insertions, 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;