[asterisk-commits] mnicholson: branch irroot/asterisk-trunk-quack-queue r343335 - /team/irroot/a...

SVN commits to the Asterisk project asterisk-commits at lists.digium.com
Thu Nov 3 11:50:01 CDT 2011


Author: mnicholson
Date: Thu Nov  3 11:49:57 2011
New Revision: 343335

URL: http://svnview.digium.com/svn/asterisk?view=rev&rev=343335
Log:
fix warning

Modified:
    team/irroot/asterisk-trunk-quack-queue/apps/app_queue.c

Modified: team/irroot/asterisk-trunk-quack-queue/apps/app_queue.c
URL: http://svnview.digium.com/svn/asterisk/team/irroot/asterisk-trunk-quack-queue/apps/app_queue.c?view=diff&rev=343335&r1=343334&r2=343335
==============================================================================
--- team/irroot/asterisk-trunk-quack-queue/apps/app_queue.c (original)
+++ team/irroot/asterisk-trunk-quack-queue/apps/app_queue.c Thu Nov  3 11:49:57 2011
@@ -3101,8 +3101,8 @@
 	AST_LIST_LOCK(q->head);
 	AST_LIST_TRAVERSE_SAFE_BEGIN(q->head, cur, next) {
 		if (cur == qe) {
+			char posstr[20];
 			ao2_lock(q);
-			char posstr[20];
 			q->count--;
 
 			/* Take us out of the queue */




More information about the asterisk-commits mailing list