aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--apps/app_voicemail.c1
1 files changed, 0 insertions, 1 deletions
diff --git a/apps/app_voicemail.c b/apps/app_voicemail.c
index 42f1c8dfe..dc23120c8 100644
--- a/apps/app_voicemail.c
+++ b/apps/app_voicemail.c
@@ -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