diff --git a/apps/app_voicemail.c b/apps/app_voicemail.c index 8e2df022cd..fa334e3505 100644 --- a/apps/app_voicemail.c +++ b/apps/app_voicemail.c @@ -2446,7 +2446,6 @@ static int __messagecount(const char *context, const char *mailbox, const char * free_user(vmu); return -1; } - ast_assert(msgnum < vms->msg_array_max); /* check if someone is accessing this box right now... */ vms_p = get_vm_state_by_imapuser(vmu->imapuser, 1);