Merge pull request #272 from dragos-oancea/switch_ivr_tone_detect_session_dead_a

[core] scan-build: Value stored to 'status' is never read
This commit is contained in:
Andrey Volk 2020-01-30 23:23:11 +04:00 committed by GitHub
commit 78857d9b00
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 0 additions and 1 deletions

View 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;