aboutsummaryrefslogtreecommitdiffstats
path: root/apps
diff options
context:
space:
mode:
Diffstat (limited to 'apps')
-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 fd03a8ec0..c90f5e262 100644
--- a/apps/app_voicemail.c
+++ b/apps/app_voicemail.c
@@ -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