summaryrefslogtreecommitdiffstats
path: root/xlators/protocol/client/src/client-callback.c
diff options
context:
space:
mode:
authorKaleb S. KEITHLEY <kkeithle@redhat.com>2016-08-29 14:22:42 -0400
committerNiels de Vos <ndevos@redhat.com>2016-09-05 04:05:13 -0700
commit17be5486151a65947bc6cbd2cfaa39fcd0af50a1 (patch)
tree5582a45880f935c14580b43c062df02a70c2aa9a /xlators/protocol/client/src/client-callback.c
parent261c035c7d0cd1639cc8bd0ead82c30efcc0e93f (diff)
protocol/client (no 1): 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. BUG: 1369124 Change-Id: I8a24e3c02144860859d653ab7115895fb3066378 Signed-off-by: Kaleb S. KEITHLEY <kkeithle@redhat.com> Reviewed-on: http://review.gluster.org/15338 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> Reviewed-by: Anuradha Talur <atalur@redhat.com> Reviewed-by: Niels de Vos <ndevos@redhat.com>
Diffstat (limited to 'xlators/protocol/client/src/client-callback.c')
-rw-r--r--xlators/protocol/client/src/client-callback.c2
1 files changed, 0 insertions, 2 deletions
diff --git a/xlators/protocol/client/src/client-callback.c b/xlators/protocol/client/src/client-callback.c
index 134044015e4..23bd67ef12b 100644
--- a/xlators/protocol/client/src/client-callback.c
+++ b/xlators/protocol/client/src/client-callback.c
@@ -43,7 +43,6 @@ client_cbk_recall_lease (struct rpc_clnt *rpc, void *mydata, void *data)
int ret = -1;
struct iovec *iov = NULL;
struct gf_upcall upcall_data = {0,};
- uuid_t gfid;
struct gf_upcall_recall_lease rl_data = {0,};
gfs3_recall_lease_req recall_lease = {{0,},};
@@ -91,7 +90,6 @@ client_cbk_cache_invalidation (struct rpc_clnt *rpc, void *mydata, void *data)
int ret = -1;
struct iovec *iov = NULL;
struct gf_upcall upcall_data = {0,};
- uuid_t gfid;
struct gf_upcall_cache_invalidation ca_data = {0,};
gfs3_cbk_cache_invalidation_req ca_req = {0,};