From ee1e0994994314453897d97fb28d91d50c40f40e Mon Sep 17 00:00:00 2001 From: "Kaleb S. KEITHLEY" Date: Sat, 17 Sep 2016 12:15:27 -0400 Subject: cli/cli-rpc-ops: 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: I844e694c1797f9f6512f75fbe3620f527d1f5203 Signed-off-by: Kaleb S. KEITHLEY Reviewed-on: http://review.gluster.org/15522 Smoke: Gluster Build System NetBSD-regression: NetBSD Build System CentOS-regression: Gluster Build System --- cli/src/cli-rpc-ops.c | 4 ---- 1 file changed, 4 deletions(-) (limited to 'cli/src') diff --git a/cli/src/cli-rpc-ops.c b/cli/src/cli-rpc-ops.c index d1df07219e3..f20e962a61e 100644 --- a/cli/src/cli-rpc-ops.c +++ b/cli/src/cli-rpc-ops.c @@ -2970,13 +2970,9 @@ gf_cli_reset_brick_cbk (struct rpc_req *req, struct iovec *iov, int ret = -1; cli_local_t *local = NULL; call_frame_t *frame = NULL; - char *src_brick = NULL; - char *dst_brick = NULL; - char *status_reply = NULL; char *rb_operation_str = NULL; dict_t *rsp_dict = NULL; char msg[1024] = {0,}; - char *task_id_str = NULL; char *reset_op = NULL; GF_ASSERT (myframe); -- cgit