Fixes two compilation errors in app_voicemail_imap, one due to an unsed
variable and one due to a new variable added in the incorrect location
in _163.
Resolves: #174
{
char *context;
char *mailbox;
+ int count;
if (ast_strlen_zero(mailbox_id)
|| separate_mailbox(ast_strdupa(mailbox_id), &mailbox, &context)) {
return 0;
}
- int count;
if (ast_strlen_zero(folder) || !strcmp(folder, "INBOX")) {
count = __messagecount(context, mailbox, "INBOX") + __messagecount(context, mailbox, "Urgent");
} else {
#ifdef IMAP_STORAGE
struct vm_state *vms = NULL;
char ext_context[256] = "";
- char *fmt = ast_strdupa(recdata->recording_ext);
int newmsgs = 0;
int oldmsgs = 0;
#endif