From: Mathieu Rene Date: Wed, 25 Jul 2012 19:22:01 +0000 (-0400) Subject: fix warnings X-Git-Tag: v1.2.3^2~71^2^2~130 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=457f98686c11fd4264b9fc234a42f0783e840f5e;p=thirdparty%2Ffreeswitch.git fix warnings --- diff --git a/src/mod/endpoints/mod_media_gateway/media_gateway_xml.c b/src/mod/endpoints/mod_media_gateway/media_gateway_xml.c index ca2e20d10d..b52d4da0f1 100644 --- a/src/mod/endpoints/mod_media_gateway/media_gateway_xml.c +++ b/src/mod/endpoints/mod_media_gateway/media_gateway_xml.c @@ -121,16 +121,13 @@ switch_status_t config_profile(megaco_profile_t *profile, switch_bool_t reload) mg_termination_t *term; // const char *prefix = switch_xml_attr(mg_term, "termination-id-prefix"); - const char *sztermination_id_base = switch_xml_attr(mg_term, "termination-id-base"); - const char *tech = switch_xml_attr(mg_term, "tech"); + //const char *sztermination_id_base = switch_xml_attr(mg_term, "termination-id-base"); + //const char *tech = switch_xml_attr(mg_term, "tech"); const char *channel_prefix = switch_xml_attr(mg_term, "channel-prefix"); const char *channel_map = switch_xml_attr(mg_term, "channel-map"); const char *szspan_id = switch_xml_attr(mg_term, "span-id"); const int span_id = !zstr(szspan_id) ? atoi(szspan_id) : 0; - int term_id = 1; - int chan_id = 1; - if (!zstr(channel_map)) { /* Split channel-map */