[asterisk-commits] oej: trunk r99384 - /trunk/channels/chan_console.c

SVN commits to the Asterisk project asterisk-commits at lists.digium.com
Tue Jan 22 10:39:46 CST 2008


Author: oej
Date: Mon Jan 21 15:11:58 2008
New Revision: 99384

URL: http://svn.digium.com/view/asterisk?view=rev&rev=99384
Log:
Remove compiler warning for uninitialized variable

Modified:
    trunk/channels/chan_console.c

Change Statistics:
 trunk/channels/chan_console.c |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

Modified: trunk/channels/chan_console.c
URL: http://svn.digium.com/view/asterisk/trunk/channels/chan_console.c?view=diff&rev=99384&r1=99383&r2=99384
==============================================================================
--- trunk/channels/chan_console.c (original)
+++ trunk/channels/chan_console.c Mon Jan 21 15:11:58 2008
@@ -1321,7 +1321,7 @@
 {
 	struct ast_variable *v;
 	struct console_pvt *pvt;
-	int new;
+	int new = 0;
 
 	if ((pvt = find_pvt(name))) {
 		console_pvt_lock(pvt);




More information about the asterisk-commits mailing list