[core] scan-build: Value stored to 'status' is never read - switch_ivr_menu_execute()
This commit is contained in:
parent
c714401935
commit
a02d3d653d
|
@ -616,7 +616,7 @@ SWITCH_DECLARE(switch_status_t) switch_ivr_menu_execute(switch_core_session_t *s
|
||||||
|
|
||||||
if ((application_interface = switch_loadable_module_get_application_interface(app_name))) {
|
if ((application_interface = switch_loadable_module_get_application_interface(app_name))) {
|
||||||
if (!zstr(menu->transfer_sound) && !strcmp(app_name, "transfer")) {
|
if (!zstr(menu->transfer_sound) && !strcmp(app_name, "transfer")) {
|
||||||
status = play_and_collect(session, menu, menu->transfer_sound, 0);
|
play_and_collect(session, menu, menu->transfer_sound, 0);
|
||||||
}
|
}
|
||||||
|
|
||||||
switch_core_session_exec(session, application_interface, app_arg);
|
switch_core_session_exec(session, application_interface, app_arg);
|
||||||
|
|
Loading…
Reference in New Issue