From 7df78b86b02ed081bd30bf2fe623502aeb8b38e9 Mon Sep 17 00:00:00 2001 From: Niels de Vos Date: Sun, 18 Sep 2016 08:23:23 +0200 Subject: cli: 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. Change-Id: Ib78fed1fab00ba22a90f2148a343170488fa05cf BUG: 1369124 Signed-off-by: Niels de Vos Reviewed-on: http://review.gluster.org/15523 Smoke: Gluster Build System Reviewed-by: Kaleb KEITHLEY NetBSD-regression: NetBSD Build System CentOS-regression: Gluster Build System --- cli/src/cli-cmd-parser.c | 1 - 1 file changed, 1 deletion(-) (limited to 'cli/src/cli-cmd-parser.c') diff --git a/cli/src/cli-cmd-parser.c b/cli/src/cli-cmd-parser.c index 86b0287715..d6ac6fd707 100644 --- a/cli/src/cli-cmd-parser.c +++ b/cli/src/cli-cmd-parser.c @@ -930,7 +930,6 @@ cli_cmd_get_state_parse (struct cli_state *state, { dict_t *dict = NULL; int ret = -1; - uint32_t cmd = 0; char *odir = NULL; char *filename = NULL; char *daemon_name = NULL; -- cgit