X-Git-Url: http://git.asterisk.org/gitweb/?p=asterisk%2Fasterisk.git;a=blobdiff_plain;f=pbx%2Fpbx_config.c;h=ed1a2cd8c417f6f53f4b38a386d5f152feeb7c2c;hp=ed832b926452c62968d2da71770749a3fbc7556d;hb=3f00e3ff039f2bae66e8155ece55afbfd7380d5e;hpb=1509737580b7786504df2a1f1840536b8f1641a5 diff --git a/pbx/pbx_config.c b/pbx/pbx_config.c index ed832b9..ed1a2cd 100644 --- a/pbx/pbx_config.c +++ b/pbx/pbx_config.c @@ -455,7 +455,7 @@ static char *complete_dialplan_remove_extension(struct ast_cli_args *a) } else if (a->pos == 4) { /* 'dialplan remove extension EXT _X_' (priority) */ char *exten = NULL, *context, *cid, *p; struct ast_context *c; - int le, lc, lcid, len; + int le, lc, len; const char *s = skip_words(a->line, 3); /* skip 'dialplan' 'remove' 'extension' */ int i = split_ec(s, &exten, &context, &cid); /* parse ext@context */ @@ -467,7 +467,6 @@ static char *complete_dialplan_remove_extension(struct ast_cli_args *a) *p = '\0'; le = strlen(exten); lc = strlen(context); - lcid = strlen(cid); len = strlen(a->word); if (le == 0 || lc == 0) goto error3;