mirror of
https://github.com/signalwire/freeswitch.git
synced 2026-07-24 13:12:03 +00:00
fix several code analysis problems and mask several that are required
This commit is contained in:
@@ -549,8 +549,8 @@ static switch_status_t do_config(void)
|
||||
if (id == -1) {
|
||||
switch_log_printf(SWITCH_CHANNEL_LOG, SWITCH_LOG_WARNING, "Unable to add tone_descriptor: %s, tone: %s. (too many tones)\n", name, tone_name);
|
||||
return SWITCH_STATUS_FALSE;
|
||||
|
||||
switch_log_printf(SWITCH_CHANNEL_LOG, SWITCH_LOG_INFO, "Adding tone_descriptor: %s, tone: %s(%d)\n", name, tone_name, id);}
|
||||
}
|
||||
switch_log_printf(SWITCH_CHANNEL_LOG, SWITCH_LOG_INFO, "Adding tone_descriptor: %s, tone: %s(%d)\n", name, tone_name, id);
|
||||
/* add elements to tone */
|
||||
for (element = switch_xml_child(tone, "element"); element; element = switch_xml_next(element)) {
|
||||
const char *freq1_attr = switch_xml_attr(element, "freq1");
|
||||
|
||||
@@ -2724,7 +2724,7 @@ static switch_status_t recog_asr_open(switch_asr_handle_t *ah, const char *codec
|
||||
name++;
|
||||
name = switch_core_sprintf(ah->memory_pool, "%s ASR-%d", name, speech_channel_number);
|
||||
} else {
|
||||
name = switch_core_sprintf(ah->memory_pool, "ASR-%d", name, speech_channel_number);
|
||||
name = switch_core_sprintf(ah->memory_pool, "ASR-%d", speech_channel_number);
|
||||
}
|
||||
|
||||
/* Allocate the channel */
|
||||
|
||||
Reference in New Issue
Block a user