From: Sean Bright Date: Sun, 2 Aug 2026 16:05:47 +0000 (+0000) Subject: app_voicemail.c: Fix may-be-uninitialized error X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=73064ff3bf22cf843cd1b1599f5db16d07e36920;p=thirdparty%2Fasterisk.git app_voicemail.c: Fix may-be-uninitialized error A pointer to `new` is passed to `inboxcount(...)` which increments the pointed-to value. --- diff --git a/apps/app_voicemail.c b/apps/app_voicemail.c index 6be1cf6a7a..9a3275d0a4 100644 --- a/apps/app_voicemail.c +++ b/apps/app_voicemail.c @@ -14176,7 +14176,7 @@ static int append_vmu_info_astman( const char* actionid ) { - int new; + int new = 0; int old; char *mailbox; int ret;