summaryrefslogtreecommitdiffstats
path: root/xlators/experimental/jbr-server/src/jbr.c
diff options
context:
space:
mode:
authorKaleb S. KEITHLEY <kkeithle@redhat.com>2016-08-22 12:11:24 -0400
committerJeff Darcy <jdarcy@redhat.com>2016-08-29 05:00:23 -0700
commit589a2c296ba8a778352ea54fd3d0fe02a573f053 (patch)
treefe60831e5e940f3f6b9509842a3753e580e03149 /xlators/experimental/jbr-server/src/jbr.c
parenteaad568af3c11b9fd482f313b44f47e7e71e3362 (diff)
jbr: 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: I68c210f3bcc0f7754a89095c0d1408d57d5bd4a2 BUG: 1369124 Signed-off-by: Kaleb S. KEITHLEY <kkeithle@redhat.com> Reviewed-on: http://review.gluster.org/15244 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: Jeff Darcy <jdarcy@redhat.com>
Diffstat (limited to 'xlators/experimental/jbr-server/src/jbr.c')
-rw-r--r--xlators/experimental/jbr-server/src/jbr.c1
1 files changed, 0 insertions, 1 deletions
diff --git a/xlators/experimental/jbr-server/src/jbr.c b/xlators/experimental/jbr-server/src/jbr.c
index cd9e71a9ea3..926b5b3c742 100644
--- a/xlators/experimental/jbr-server/src/jbr.c
+++ b/xlators/experimental/jbr-server/src/jbr.c
@@ -287,7 +287,6 @@ out:
int32_t
jbr_initialize_xdata_set_attrs (xlator_t *this, dict_t **xdata)
{
- jbr_local_t *local = NULL;
jbr_private_t *priv = NULL;
int32_t ret = -1;
uint32_t ti = 0;