summaryrefslogtreecommitdiffstats
path: root/cli/src/cli-cmd-parser.c
diff options
context:
space:
mode:
authorNiels de Vos <ndevos@redhat.com>2016-09-18 08:23:23 +0200
committergluster-ant <bugzilla-bot@gluster.org>2016-09-18 08:23:23 +0200
commit7df78b86b02ed081bd30bf2fe623502aeb8b38e9 (patch)
treefd86c5f5b1343ca1a6fc3104b4e6206450bff644 /cli/src/cli-cmd-parser.c
parent6bd026980403ccc39ab7a8b2ff8d7e717cf1ca54 (diff)
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 <ndevos@redhat.com> Reviewed-on: http://review.gluster.org/15523 Smoke: Gluster Build System <jenkins@build.gluster.org> Reviewed-by: Kaleb KEITHLEY <kkeithle@redhat.com> NetBSD-regression: NetBSD Build System <jenkins@build.gluster.org> CentOS-regression: Gluster Build System <jenkins@build.gluster.org>
Diffstat (limited to 'cli/src/cli-cmd-parser.c')
-rw-r--r--cli/src/cli-cmd-parser.c1
1 files changed, 0 insertions, 1 deletions
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;