summaryrefslogtreecommitdiffstats
path: root/xlators/features/upcall/src/upcall.c
diff options
context:
space:
mode:
authorKaleb S. KEITHLEY <kkeithle@redhat.com>2016-08-22 12:14:33 -0400
committerNiels de Vos <ndevos@redhat.com>2016-08-25 05:11:31 -0700
commitafabb66f36b75db4d5aee46e694990b63f454133 (patch)
treece6f8b00c669d284f815e536c75279e06500cddd /xlators/features/upcall/src/upcall.c
parentc85a9ee3198ac63eaa035c8224e514d339bb068b (diff)
upcall: 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: I887aa033f00ab67f73c7d7a7f1b3054d43bffc49 BUG: 1369124 Signed-off-by: Kaleb S. KEITHLEY <kkeithle@redhat.com> Reviewed-on: http://review.gluster.org/15252 Reviewed-by: Niels de Vos <ndevos@redhat.com> Smoke: Gluster Build System <jenkins@build.gluster.org> NetBSD-regression: NetBSD Build System <jenkins@build.gluster.org> CentOS-regression: Gluster Build System <jenkins@build.gluster.org>
Diffstat (limited to 'xlators/features/upcall/src/upcall.c')
-rw-r--r--xlators/features/upcall/src/upcall.c1
1 files changed, 0 insertions, 1 deletions
diff --git a/xlators/features/upcall/src/upcall.c b/xlators/features/upcall/src/upcall.c
index ea716214a56..a007d694099 100644
--- a/xlators/features/upcall/src/upcall.c
+++ b/xlators/features/upcall/src/upcall.c
@@ -2190,7 +2190,6 @@ int
notify (xlator_t *this, int32_t event, void *data, ...)
{
int ret = -1;
- int32_t val = 0;
struct gf_upcall *up_req = NULL;
switch (event) {