summaryrefslogtreecommitdiff
path: root/cmd.c
diff options
context:
space:
mode:
Diffstat (limited to 'cmd.c')
-rw-r--r--cmd.c2
1 files changed, 0 insertions, 2 deletions
diff --git a/cmd.c b/cmd.c
index fd7ec9e..7aa0434 100644
--- a/cmd.c
+++ b/cmd.c
@@ -190,7 +190,6 @@ err_malloc_type:
free( ret->argv );
err_malloc_argv:
free( ret );
-err_exit:
return NULL;
}
@@ -539,7 +538,6 @@ char* cmd_mng_autocomplete( cmd_mng_t *cmng, char *cmd, size_t cmd_sz )
int ac_sz=0,cnt_sz=0;
char *ac_str;
memset( &tl, 0, sizeof( cmd_tok_t ));
- int i;
if ( parse_cmd(ptr, cmd, cmd_sz) == -1)
{