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

SVN commits to the Asterisk project asterisk-commits at lists.digium.com
Mon Aug 20 11:17:44 CDT 2007


Author: mmichelson
Date: Mon Aug 20 11:17:43 2007
New Revision: 80049

URL: http://svn.digium.com/view/asterisk?view=rev&rev=80049
Log:
Found a pointless ternary if. member->dynamic was set to 1 and has no opportunity to change
between then and this line, so "dynamic" will ALWAYS be output.


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=80049&r1=80048&r2=80049
==============================================================================
--- branches/1.4/apps/app_queue.c (original)
+++ branches/1.4/apps/app_queue.c Mon Aug 20 11:17:43 2007
@@ -2910,7 +2910,7 @@
 				"Status: %d\r\n"
 				"Paused: %d\r\n",
 				q->name, new_member->interface, new_member->membername,
-				new_member->dynamic ? "dynamic" : "static",
+				"dynamic",
 				new_member->penalty, new_member->calls, (int) new_member->lastcall,
 				new_member->status, new_member->paused);
 			




More information about the asterisk-commits mailing list