Index: apps/app_voicemail.c =================================================================== --- apps/app_voicemail.c (revision 293610) +++ apps/app_voicemail.c (working copy) @@ -7415,9 +7415,7 @@ last_msg = last_message_index(vmu, vms->curdir); ast_unlock_path(vms->curdir); - if (last_msg < 0) { - return last_msg; - } else if (vms->lastmsg != last_msg) { + if (vms->lastmsg != last_msg) { ast_log(LOG_NOTICE, "Mailbox: %s, expected %d but found %d message(s) in box with max threshold of %d.\n", vms->curdir, last_msg + 1, vms->lastmsg + 1, vmu->maxmsg); }