]> git.ipfire.org Git - thirdparty/asterisk.git/commitdiff
Merged revisions 71953 via svnmerge from
authorMark Michelson <mmichelson@digium.com>
Tue, 26 Jun 2007 23:03:09 +0000 (23:03 +0000)
committerMark Michelson <mmichelson@digium.com>
Tue, 26 Jun 2007 23:03:09 +0000 (23:03 +0000)
https://origsvn.digium.com/svn/asterisk/branches/1.4

........
r71953 | mmichelson | 2007-06-26 18:02:09 -0500 (Tue, 26 Jun 2007) | 4 lines

Removing a pointless line. This variable was already set earlier and between then and this
line, there is no way that the values on the right side of the assignment could have changed.

........

git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@71954 65c4cc65-6c06-0410-ace0-fbb531ad65f3

apps/app_voicemail.c

index fd03a8ec03516b153cf9a3cee26d4036039cb0cd..c90f5e262faebe996ce26dc57dbba6523f8ae4c1 100644 (file)
@@ -3130,7 +3130,6 @@ static int leave_voicemail(struct ast_channel *chan, char *ext, struct leave_vm_
                        return -1;
                }
                /* here is a big difference! We add one to it later */
-               msgnum = newmsgs + oldmsgs;
                ast_debug(3, "Messagecount set to %d\n",msgnum);
 
 #else