From b25299b74389bfaef45a3b9034a0cad628c2a342 Mon Sep 17 00:00:00 2001 From: "Kaleb S. KEITHLEY" Date: Mon, 22 Aug 2016 12:31:28 -0400 Subject: shard: 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: I3e53f12371b002d7f2fe2e281b63794c7769f823 BUG: 1369124 Signed-off-by: Kaleb S. KEITHLEY Reviewed-on: http://review.gluster.org/15258 Reviewed-by: Krutika Dhananjay Smoke: Gluster Build System CentOS-regression: Gluster Build System Reviewed-by: Niels de Vos NetBSD-regression: NetBSD Build System --- xlators/features/shard/src/shard.c | 3 --- 1 file changed, 3 deletions(-) (limited to 'xlators/features/shard') diff --git a/xlators/features/shard/src/shard.c b/xlators/features/shard/src/shard.c index abac0ccf64d..c704ad14017 100644 --- a/xlators/features/shard/src/shard.c +++ b/xlators/features/shard/src/shard.c @@ -2512,11 +2512,8 @@ next: int shard_post_lookup_unlink_handler (call_frame_t *frame, xlator_t *this) { - int ret = -1; - shard_priv_t *priv = NULL; shard_local_t *local = NULL; - priv = this->private; local = frame->local; if (local->op_ret < 0) { -- cgit