From 3f6647d7ad5b6f74b9d2103d970a684d96cfc006 Mon Sep 17 00:00:00 2001 From: Sean Bright Date: Fri, 1 Aug 2008 19:30:31 +0000 Subject: [PATCH] Merged revisions 135197 via svnmerge from https://origsvn.digium.com/svn/asterisk/trunk ........ r135197 | seanbright | 2008-08-01 15:29:26 -0400 (Fri, 01 Aug 2008) | 6 lines 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. ........ git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.6.0@135198 65c4cc65-6c06-0410-ace0-fbb531ad65f3 --- channels/chan_mgcp.c | 4 ---- 1 file changed, 4 deletions(-) diff --git a/channels/chan_mgcp.c b/channels/chan_mgcp.c index 94a9e872ee..1eca7168af 100644 --- a/channels/chan_mgcp.c +++ b/channels/chan_mgcp.c @@ -2165,12 +2165,8 @@ static int transmit_modify_with_sdp(struct mgcp_subchannel *sub, struct ast_rtp 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 */