mirror of
https://github.com/asterisk/asterisk.git
synced 2025-09-05 20:20:07 +00:00
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.4@156289 65c4cc65-6c06-0410-ace0-fbb531ad65f3
This commit is contained in:
@@ -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;
|
||||
|
Reference in New Issue
Block a user