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

Friendly Automation asteriskteam at digium.com
Tue Dec 17 11:55:12 CST 2019


Friendly Automation has submitted this change. ( https://gerrit.asterisk.org/c/asterisk/+/13420 )

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

app_voicemail: warning when is compiling

Change-Id: Ib53eba1a66e25fbeba61c620bd3edd462f699ada

ASTERISK-28628

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

Approvals:
  Benjamin Keith Ford: Looks good to me, but someone else must approve
  Joshua C. Colp: Looks good to me, but someone else must approve
  Sean Bright: Looks good to me, approved
  Friendly Automation: Approved for Submit



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: 2
Gerrit-Owner: Stanislav Abramenkov <stas.abramenkov at gmail.com>
Gerrit-Reviewer: Benjamin Keith Ford <bford at digium.com>
Gerrit-Reviewer: Friendly Automation
Gerrit-Reviewer: Joshua C. Colp <jcolp at sangoma.com>
Gerrit-Reviewer: Sean Bright <sean.bright at gmail.com>
Gerrit-MessageType: merged
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.digium.com/pipermail/asterisk-code-review/attachments/20191217/de60ca49/attachment-0001.html>


More information about the asterisk-code-review mailing list