]> git.ipfire.org Git - thirdparty/freeswitch.git/commitdiff
[core] scan-build: Value stored to 'status' is never read 272/head
authorDragos Oancea <dragos@signalwire.com>
Tue, 28 Jan 2020 23:18:28 +0000 (23:18 +0000)
committerDragos Oancea <dragos@signalwire.com>
Tue, 28 Jan 2020 23:18:28 +0000 (23:18 +0000)
src/switch_ivr_async.c

index db1bb1e4e54f28c896550e2ed49535ab93e18fb0..c2a009f7259ed188861241d28e302af29541eb90 100644 (file)
@@ -4149,7 +4149,6 @@ SWITCH_DECLARE(switch_status_t) switch_ivr_tone_detect_session(switch_core_sessi
        bflags |= SMBF_NO_PAUSE;
 
        if (cont->bug_running) {
-               status = SWITCH_STATUS_SUCCESS;
                switch_log_printf(SWITCH_CHANNEL_SESSION_LOG(session), SWITCH_LOG_DEBUG, "%s bug already running\n", switch_channel_get_name(channel));
        } else {
                cont->bug_running = 1;