]> git.ipfire.org Git - thirdparty/asterisk.git/commitdiff
Removing a pointless line. This variable was already set earlier and between then...
authorMark Michelson <mmichelson@digium.com>
Tue, 26 Jun 2007 23:02:09 +0000 (23:02 +0000)
committerMark Michelson <mmichelson@digium.com>
Tue, 26 Jun 2007 23:02:09 +0000 (23:02 +0000)
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/branches/1.4@71953 65c4cc65-6c06-0410-ace0-fbb531ad65f3

apps/app_voicemail.c

index 42f1c8dfe77e5256ad030d5f577e403be135fae2..dc23120c8c6955b5cfda268db7657903c155a719 100644 (file)
@@ -3012,7 +3012,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;
                if (option_debug > 2)
                        ast_log(LOG_DEBUG, "Messagecount set to %d\n",msgnum);
 #else