From b753d9bcc6789e563bcd18dfc0accb964cbcd322 Mon Sep 17 00:00:00 2001 From: Anthony Minessale Date: Tue, 15 Dec 2009 00:28:59 +0000 Subject: [PATCH] tweak git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@15958 d0543943-73ff-0310-b7d9-9358b9ac24b2 --- src/switch_console.c | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) 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;