Merge pull request #344 from dragos-oancea/switch_ivr_menu-val-never-read

[core] scan-build: Value stored to 'status' is never read - switch_ivr_menu_execute()
This commit is contained in:
Andrey Volk 2020-02-14 00:10:33 +04:00 committed by GitHub
commit 270e06c50d
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
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 (!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);