[core] scan-build: Value stored to 'status' is never read - switch_ivr_menu_execute()

This commit is contained in:
Dragos Oancea 2020-02-12 21:39:57 +00:00
parent c714401935
commit a02d3d653d
1 changed files with 1 additions and 1 deletions

View File

@ -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);