summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--cli/src/cli-cmd-parser.c1
-rw-r--r--cli/src/cli-rpc-ops.c2
2 files changed, 0 insertions, 3 deletions
diff --git a/cli/src/cli-cmd-parser.c b/cli/src/cli-cmd-parser.c
index 86b02877159..d6ac6fd7077 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;
diff --git a/cli/src/cli-rpc-ops.c b/cli/src/cli-rpc-ops.c
index f20e962a61e..f217e13abdd 100644
--- a/cli/src/cli-rpc-ops.c
+++ b/cli/src/cli-rpc-ops.c
@@ -4334,8 +4334,6 @@ gf_cli_get_state (call_frame_t *frame, xlator_t *this, void *data)
int ret = 0;
dict_t *dict = NULL;
- char *odir = NULL;
-
if (!frame || !this || !data) {
ret = -1;
goto out;