[asterisk-commits] trunk r11983 - /trunk/apps/app_voicemail.c

asterisk-commits at lists.digium.com asterisk-commits at lists.digium.com
Mon Mar 6 02:44:01 MST 2006


Author: oej
Date: Mon Mar  6 03:43:59 2006
New Revision: 11983

URL: http://svn.digium.com/view/asterisk?rev=11983&view=rev
Log:
Initialize variable (fix by Luigi Rizzo)

Modified:
    trunk/apps/app_voicemail.c

Modified: trunk/apps/app_voicemail.c
URL: http://svn.digium.com/view/asterisk/trunk/apps/app_voicemail.c?rev=11983&r1=11982&r2=11983&view=diff
==============================================================================
--- trunk/apps/app_voicemail.c (original)
+++ trunk/apps/app_voicemail.c Mon Mar  6 03:43:59 2006
@@ -4508,7 +4508,7 @@
 static int vm_intro_ru(struct ast_channel *chan,struct vm_state *vms)
 {
 	int res;
-	int lastnum;
+	int lastnum = 0;
 	int dcnum;
 
 	res = ast_play_and_wait(chan, "vm-youhave");



More information about the asterisk-commits mailing list