]> git.ipfire.org Git - thirdparty/freeswitch.git/commitdiff
[core] scan-build: Value stored to 'status' is never read - switch_ivr_session_echo() 356/head
authorDragos Oancea <dragos@signalwire.com>
Thu, 13 Feb 2020 19:08:21 +0000 (19:08 +0000)
committerDragos Oancea <dragos@signalwire.com>
Thu, 13 Feb 2020 19:08:21 +0000 (19:08 +0000)
src/switch_ivr_async.c

index 5753721fa36cb5f8d741eb269ded9675305cf079..48e75f8c548494391507b1e16e1d4f3e6eccf4d5 100644 (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);