From: Olle Johansson Date: Mon, 21 Jan 2008 21:11:58 +0000 (+0000) Subject: Remove compiler warning for uninitialized variable X-Git-Tag: 1.6.0-beta2~2^2~80 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=8f19d8523bf411053a7c06562be2398e90f99b49;p=thirdparty%2Fasterisk.git Remove compiler warning for uninitialized variable git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@99384 65c4cc65-6c06-0410-ace0-fbb531ad65f3 --- diff --git a/channels/chan_console.c b/channels/chan_console.c index cd6170e98f..c558f5b1db 100644 --- a/channels/chan_console.c +++ b/channels/chan_console.c @@ -1321,7 +1321,7 @@ static void build_device(struct ast_config *cfg, const char *name) { struct ast_variable *v; struct console_pvt *pvt; - int new; + int new = 0; if ((pvt = find_pvt(name))) { console_pvt_lock(pvt);