aboutsummaryrefslogtreecommitdiffstats
path: root/channels/chan_mgcp.c
diff options
context:
space:
mode:
authorseanbright <seanbright@f38db490-d61c-443f-a65b-d21fe96a405b>2008-08-01 19:30:31 +0000
committerseanbright <seanbright@f38db490-d61c-443f-a65b-d21fe96a405b>2008-08-01 19:30:31 +0000
commit2a2cbf5362d3c707f5ac1a3cdf4670d14da68423 (patch)
treee788a343cda42a73a07e9b17d18645c446a7473b /channels/chan_mgcp.c
parent054a8fd3d37964691f1b287e2881464e4fc97d78 (diff)
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: http://svn.digium.com/svn/asterisk/branches/1.6.0@135198 f38db490-d61c-443f-a65b-d21fe96a405b
Diffstat (limited to 'channels/chan_mgcp.c')
-rw-r--r--channels/chan_mgcp.c4
1 files changed, 0 insertions, 4 deletions
diff --git a/channels/chan_mgcp.c b/channels/chan_mgcp.c
index 94a9e872e..1eca7168a 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 */