Initialize variable (fix by Luigi Rizzo)
authorOlle Johansson <oej@edvina.net>
Mon, 6 Mar 2006 09:43:59 +0000 (09:43 +0000)
committerOlle Johansson <oej@edvina.net>
Mon, 6 Mar 2006 09:43:59 +0000 (09:43 +0000)
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@11983 65c4cc65-6c06-0410-ace0-fbb531ad65f3

apps/app_voicemail.c

index 3c2635b..168c968 100644 (file)
@@ -4508,7 +4508,7 @@ static int get_lastdigits(int num)
 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");