[asterisk-commits] mmichelson: branch 1.4 r92443 - /branches/1.4/apps/app_queue.c

SVN commits to the Asterisk project asterisk-commits at lists.digium.com
Wed Dec 12 10:08:56 CST 2007


Author: mmichelson
Date: Wed Dec 12 10:08:55 2007
New Revision: 92443

URL: http://svn.digium.com/view/asterisk?view=rev&rev=92443
Log:
Removing an unused variable.


Modified:
    branches/1.4/apps/app_queue.c

Modified: branches/1.4/apps/app_queue.c
URL: http://svn.digium.com/view/asterisk/branches/1.4/apps/app_queue.c?view=diff&rev=92443&r1=92442&r2=92443
==============================================================================
--- branches/1.4/apps/app_queue.c (original)
+++ branches/1.4/apps/app_queue.c Wed Dec 12 10:08:55 2007
@@ -2040,7 +2040,6 @@
 	char *queue = qe->parent->name;
 	struct callattempt *o;
 	int status;
-	int sentringing = 0;
 	int numbusies = prebusies;
 	int numnochan = 0;
 	int stillgoing = 0;
@@ -2212,12 +2211,6 @@
 						case AST_CONTROL_RINGING:
 							if (option_verbose > 2)
 								ast_verbose( VERBOSE_PREFIX_3 "%s is ringing\n", o->chan->name);
-							if (!sentringing) {
-#if 0
-								ast_indicate(in, AST_CONTROL_RINGING);
-#endif								
-								sentringing++;
-							}
 							break;
 						case AST_CONTROL_OFFHOOK:
 							/* Ignore going off hook */




More information about the asterisk-commits mailing list