[asterisk-commits] russell: trunk r74125 - /trunk/channels/chan_agent.c

SVN commits to the Asterisk project asterisk-commits at lists.digium.com
Mon Jul 9 13:58:10 CDT 2007


Author: russell
Date: Mon Jul  9 13:58:09 2007
New Revision: 74125

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

Modified:
    trunk/channels/chan_agent.c

Modified: trunk/channels/chan_agent.c
URL: http://svn.digium.com/view/asterisk/trunk/channels/chan_agent.c?view=diff&rev=74125&r1=74124&r2=74125
==============================================================================
--- trunk/channels/chan_agent.c (original)
+++ trunk/channels/chan_agent.c Mon Jul  9 13:58:09 2007
@@ -2139,7 +2139,6 @@
 	char *s;
 	ast_group_t groupmatch;
 	int groupoff;
-	int waitforagent=0;
 	int res = AST_DEVICE_INVALID;
 	
 	s = data;
@@ -2147,7 +2146,6 @@
 		groupmatch = (1 << groupoff);
 	else if ((s[0] == ':') && (sscanf(s + 1, "%d", &groupoff) == 1)) {
 		groupmatch = (1 << groupoff);
-		waitforagent = 1;
 	} else 
 		groupmatch = 0;
 




More information about the asterisk-commits mailing list