Merge pull request #356 from dragos-oancea/switch_ivr_async-echo-val-never-read

[core] scan-build: Value stored to 'status' is never read - switch_ivr_session_echo()
This commit is contained in:
Andrey Volk 2020-02-14 20:50:41 +04:00 committed by GitHub
commit 465890fcb9
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -737,7 +737,6 @@ SWITCH_DECLARE(switch_status_t) switch_ivr_session_echo(switch_core_session_t *s
*/
if (switch_channel_has_dtmf(channel)) {
if (!args->input_callback && !args->buf) {
status = SWITCH_STATUS_BREAK;
break;
}
switch_channel_dequeue_dtmf(channel, &dtmf);