[asterisk-commits] jpeeler: branch 1.4 r156289 - /branches/1.4/apps/app_meetme.c

SVN commits to the Asterisk project asterisk-commits at lists.digium.com
Wed Nov 12 13:10:13 CST 2008


Author: jpeeler
Date: Wed Nov 12 13:10:12 2008
New Revision: 156289

URL: http://svn.digium.com/view/asterisk?view=rev&rev=156289
Log:
For whatever reason, gcc only warned me about the possible use of an uninitialized variable when compiling 1.6.1. 


Modified:
    branches/1.4/apps/app_meetme.c

Modified: branches/1.4/apps/app_meetme.c
URL: http://svn.digium.com/view/asterisk/branches/1.4/apps/app_meetme.c?view=diff&rev=156289&r1=156288&r2=156289
==============================================================================
--- branches/1.4/apps/app_meetme.c (original)
+++ branches/1.4/apps/app_meetme.c Wed Nov 12 13:10:12 2008
@@ -1451,7 +1451,7 @@
 			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;




More information about the asterisk-commits mailing list