[Asterisk-code-review] app_voicemail: warning when is compiling (asterisk[13])

Stanislav Abramenkov asteriskteam at digium.com
Thu Dec 12 13:27:48 CST 2019


Stanislav Abramenkov has uploaded this change for review. ( https://gerrit.asterisk.org/c/asterisk/+/13420 )


Change subject: app_voicemail: warning when is compiling
......................................................................

app_voicemail: warning when is compiling

Change-Id: Ib53eba1a66e25fbeba61c620bd3edd462f699ada
---
M apps/app_voicemail.c
1 file changed, 2 insertions(+), 1 deletion(-)



  git pull ssh://gerrit.asterisk.org:29418/asterisk refs/changes/20/13420/1

diff --git a/apps/app_voicemail.c b/apps/app_voicemail.c
index 83f1bde..f89248b 100644
--- a/apps/app_voicemail.c
+++ b/apps/app_voicemail.c
@@ -13565,7 +13565,8 @@
 	astman_send_listack(s, m, "Voicemail user list will follow", "start");
 
 	AST_LIST_TRAVERSE(&users, vmu, list) {
-		int new, old;
+		int new = 0;
+		int old = 0;
 		int ret;
 		char *mailbox;
 

-- 
To view, visit https://gerrit.asterisk.org/c/asterisk/+/13420
To unsubscribe, or for help writing mail filters, visit https://gerrit.asterisk.org/settings

Gerrit-Project: asterisk
Gerrit-Branch: 13
Gerrit-Change-Id: Ib53eba1a66e25fbeba61c620bd3edd462f699ada
Gerrit-Change-Number: 13420
Gerrit-PatchSet: 1
Gerrit-Owner: Stanislav Abramenkov <stas.abramenkov at gmail.com>
Gerrit-MessageType: newchange
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.digium.com/pipermail/asterisk-code-review/attachments/20191212/40f9b288/attachment.html>


More information about the asterisk-code-review mailing list