diff options
author | seanbright <seanbright@f38db490-d61c-443f-a65b-d21fe96a405b> | 2008-08-01 19:29:26 +0000 |
---|---|---|
committer | seanbright <seanbright@f38db490-d61c-443f-a65b-d21fe96a405b> | 2008-08-01 19:29:26 +0000 |
commit | 2204bee5d55fb5a7465c19650292aabbbd2b13b5 (patch) | |
tree | ea56381da74276152be669017e1ad86281f6c4b7 /channels/chan_mgcp.c | |
parent | 6c9711840582fdc944e169560440cc2a51575914 (diff) |
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/trunk@135197 f38db490-d61c-443f-a65b-d21fe96a405b
Diffstat (limited to 'channels/chan_mgcp.c')
-rw-r--r-- | channels/chan_mgcp.c | 4 |
1 files changed, 0 insertions, 4 deletions
diff --git a/channels/chan_mgcp.c b/channels/chan_mgcp.c index 46b75bf31..21d1a9ad4 100644 --- a/channels/chan_mgcp.c +++ b/channels/chan_mgcp.c @@ -2167,12 +2167,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 */ |