[asterisk-commits] seanbright: trunk r135197 -	/trunk/channels/chan_mgcp.c
    SVN commits to the Asterisk project 
    asterisk-commits at lists.digium.com
       
    Fri Aug  1 14:29:26 CDT 2008
    
    
  
Author: seanbright
Date: Fri Aug  1 14:29:26 2008
New Revision: 135197
URL: http://svn.digium.com/view/asterisk?view=rev&rev=135197
Log:
Remove some code that used to do something but does not anymore, mainly
to get rid of a shadow warning (but this seemed legitimate enough to fix
here instead of in my branch).
Thanks to putnopvut for taking a look as well.
Modified:
    trunk/channels/chan_mgcp.c
Modified: trunk/channels/chan_mgcp.c
URL: http://svn.digium.com/view/asterisk/trunk/channels/chan_mgcp.c?view=diff&rev=135197&r1=135196&r2=135197
==============================================================================
--- trunk/channels/chan_mgcp.c (original)
+++ trunk/channels/chan_mgcp.c Fri Aug  1 14:29:26 2008
@@ -2167,12 +2167,8 @@
 	char local[256];
 	char tmp[80];
 	int x;
-	int capability;
 	struct mgcp_endpoint *p = sub->parent;
 
-	capability = p->capability;
-	if (codecs)
-		capability = codecs;
 	if (ast_strlen_zero(sub->cxident) && rtp) {
 		/* We don't have a CXident yet, store the destination and
 		   wait a bit */
    
    
More information about the asterisk-commits
mailing list