From d6effd3f11c9bb45220625271086b890fdf80a86 Mon Sep 17 00:00:00 2001 From: Tilghman Lesher Date: Tue, 2 Dec 2008 23:10:07 +0000 Subject: [PATCH] Merged revisions 156290 via svnmerge from https://origsvn.digium.com/svn/asterisk/trunk ................ r156290 | jpeeler | 2008-11-12 13:11:15 -0600 (Wed, 12 Nov 2008) | 11 lines Merged revisions 156289 via svnmerge from https://origsvn.digium.com/svn/asterisk/branches/1.4 ........ r156289 | jpeeler | 2008-11-12 13:10:12 -0600 (Wed, 12 Nov 2008) | 3 lines For whatever reason, gcc only warned me about the possible use of an uninitialized variable when compiling 1.6.1. ........ ................ git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.6.0@160392 65c4cc65-6c06-0410-ace0-fbb531ad65f3 --- apps/app_meetme.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/apps/app_meetme.c b/apps/app_meetme.c index e650aaa881..e4bf7fd30a 100644 --- a/apps/app_meetme.c +++ b/apps/app_meetme.c @@ -1560,7 +1560,7 @@ static void *announce_thread(void *data) break; } - for (; !conf->announcethread_stop && (current = AST_LIST_REMOVE_HEAD(&local_list, entry)); ao2_ref(current, -1)) { + for (res = 1; !conf->announcethread_stop && (current = AST_LIST_REMOVE_HEAD(&local_list, entry)); ao2_ref(current, -1)) { ast_log(LOG_DEBUG, "About to play %s\n", current->namerecloc); if (!ast_fileexists(current->namerecloc, NULL, NULL)) continue;