diff --git a/src/switch_console.c b/src/switch_console.c index 557f487b65..cf15d9db7a 100644 --- a/src/switch_console.c +++ b/src/switch_console.c @@ -644,7 +644,6 @@ static void *SWITCH_THREAD_FUNC console_thread(switch_thread_t *thread, void *ob struct helper { - EditLine *el; int len; int hits; int words; @@ -731,7 +730,7 @@ static unsigned char complete(EditLine * el, int ch) char *buf = dup; char *p, *lp = NULL; char *errmsg = NULL; - struct helper h = { el }; + struct helper h = { 0 }; unsigned char ret = CC_REDISPLAY; int pos = 0;