From: Alec L Davis Date: Fri, 1 Apr 2011 07:47:23 +0000 (+0000) Subject: app_voicemail:close_mailbox imap_storage doesn't use last_msg_index X-Git-Tag: 1.4.42-rc1~33 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=752c3ef59108932a8bec33af9504fb2b6fd93cfd;p=thirdparty%2Fasterisk.git app_voicemail:close_mailbox imap_storage doesn't use last_msg_index git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.4@312119 65c4cc65-6c06-0410-ace0-fbb531ad65f3 --- diff --git a/apps/app_voicemail.c b/apps/app_voicemail.c index 2976dfc6a1..e34ced8024 100644 --- a/apps/app_voicemail.c +++ b/apps/app_voicemail.c @@ -6051,8 +6051,8 @@ static int open_mailbox(struct vm_state *vms, struct ast_vm_user *vmu,int box) static int close_mailbox(struct vm_state *vms, struct ast_vm_user *vmu) { int x = 0; - int last_msg_index; #ifndef IMAP_STORAGE + int last_msg_index; int res = 0, nummsg; #endif