[asterisk-commits] murf: trunk r75982 - /trunk/apps/app_queue.c

SVN commits to the Asterisk project asterisk-commits at lists.digium.com
Thu Jul 19 17:01:00 CDT 2007


Author: murf
Date: Thu Jul 19 17:00:59 2007
New Revision: 75982

URL: http://svn.digium.com/view/asterisk?view=rev&rev=75982
Log:
This repairs a 'warning: ISO C90 forbids mixed declarations and code' message that cripples my dev-mode enabled build

Modified:
    trunk/apps/app_queue.c

Modified: trunk/apps/app_queue.c
URL: http://svn.digium.com/view/asterisk/trunk/apps/app_queue.c?view=diff&rev=75982&r1=75981&r2=75982
==============================================================================
--- trunk/apps/app_queue.c (original)
+++ trunk/apps/app_queue.c Thu Jul 19 17:00:59 2007
@@ -3437,6 +3437,7 @@
 	/* whether to exit Queue application after the timeout hits */
 	int go_on = 0;
 	char *parse;
+	int makeannouncement = 0;
 	AST_DECLARE_APP_ARGS(args,
 		AST_APP_ARG(queuename);
 		AST_APP_ARG(options);
@@ -3528,7 +3529,7 @@
 		if (res)
 			goto stop;
 
-		int makeannouncement = 0;
+		makeannouncement = 0;
 
 		for (;;) {
 			/* This is the wait loop for the head caller*/




More information about the asterisk-commits mailing list