From: Dragos Oancea Date: Wed, 12 Feb 2020 21:39:57 +0000 (+0000) Subject: [core] scan-build: Value stored to 'status' is never read - switch_ivr_menu_execute() X-Git-Tag: v1.10.3^2~183^2 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=a02d3d653d531b99bef5adf664fdfbaa1754389e;p=thirdparty%2Ffreeswitch.git [core] scan-build: Value stored to 'status' is never read - switch_ivr_menu_execute() --- diff --git a/src/switch_ivr_menu.c b/src/switch_ivr_menu.c index 3d55e4dac0..255c9a4f12 100644 --- a/src/switch_ivr_menu.c +++ b/src/switch_ivr_menu.c @@ -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);