summaryrefslogtreecommitdiffstats
path: root/xlators/protocol
diff options
context:
space:
mode:
authorKaleb S. KEITHLEY <kkeithle@redhat.com>2016-09-13 05:58:10 -0400
committerKaleb KEITHLEY <kkeithle@redhat.com>2016-09-13 21:10:16 -0700
commit9836ab799fbe82dc9b37e4857282b88898ce9517 (patch)
treee6db72617fa4b423813a68da16d59188fec72f49 /xlators/protocol
parent0419ab2820820f1ac93e55dbf3a665824560bade (diff)
xlators/protocol/server: fix unused variable warnings/errors
http://review.gluster.org/14085 fixes a "pragma leak" where the generated rpc/xdr headers have a pair of pragmas that disable these warnings. With the warnings disabled, many unused variables have crept into the code base. And 14085 won't pass its own smoke test until all these warnings are fixed. BUG: 1369124 Change-Id: I087131cd9b5e2abffc6a67d6c61e88fb6784661a Signed-off-by: Kaleb S. KEITHLEY <kkeithle@redhat.com> Reviewed-on: http://review.gluster.org/15483 Smoke: Gluster Build System <jenkins@build.gluster.org> CentOS-regression: Gluster Build System <jenkins@build.gluster.org> NetBSD-regression: NetBSD Build System <jenkins@build.gluster.org>
Diffstat (limited to 'xlators/protocol')
-rw-r--r--xlators/protocol/server/src/server-helpers.c1
1 files changed, 0 insertions, 1 deletions
diff --git a/xlators/protocol/server/src/server-helpers.c b/xlators/protocol/server/src/server-helpers.c
index 06fc3ce6c97..d59ceb32d1e 100644
--- a/xlators/protocol/server/src/server-helpers.c
+++ b/xlators/protocol/server/src/server-helpers.c
@@ -2279,7 +2279,6 @@ server_populate_compound_response (xlator_t *this, gfs3_compound_rsp *rsp,
compound_args_cbk_t *args_cbk, int index)
{
int op_errno = EINVAL;
- int op_ret = -1;
default_args_cbk_t *this_args_cbk = NULL;
compound_rsp *this_rsp = NULL;
server_state_t *state = NULL;