aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorjpeeler <jpeeler@f38db490-d61c-443f-a65b-d21fe96a405b>2008-11-12 19:10:12 +0000
committerjpeeler <jpeeler@f38db490-d61c-443f-a65b-d21fe96a405b>2008-11-12 19:10:12 +0000
commit547d624dffe1976f47bf422662428909ea955fd7 (patch)
tree0f6a2782eb6872523719b38f99d032921f115da1
parent17f22eeef7991ce90ed86ae84cdc8351ef861e72 (diff)
For whatever reason, gcc only warned me about the possible use of an uninitialized variable when compiling 1.6.1.
git-svn-id: http://svn.digium.com/svn/asterisk/branches/1.4@156289 f38db490-d61c-443f-a65b-d21fe96a405b
-rw-r--r--apps/app_meetme.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/apps/app_meetme.c b/apps/app_meetme.c
index d733ec113..24ff62fad 100644
--- a/apps/app_meetme.c
+++ b/apps/app_meetme.c
@@ -1451,7 +1451,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;