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/trunk@135197
65c4cc65-6c06-0410-ace0-
fbb531ad65f3
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 */