Merge pull request #357 from dragos-oancea/switch_ivr_bridge-status-val-never-read

[core] scan-build: Value stored to 'status' is never read - audio_bridge_thread()
This commit is contained in:
Andrey Volk 2020-02-14 20:49:07 +04:00 committed by GitHub
commit e7651bd90d
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 1 deletions

View File

@ -706,7 +706,7 @@ static void *audio_bridge_thread(switch_thread_t *thread, void *obj)
if (switch_core_session_dequeue_event(session_a, &event, SWITCH_FALSE) == SWITCH_STATUS_SUCCESS) {
if (input_callback) {
status = input_callback(session_a, event, SWITCH_INPUT_TYPE_EVENT, user_data, 0);
input_callback(session_a, event, SWITCH_INPUT_TYPE_EVENT, user_data, 0);
}
if ((event->event_id != SWITCH_EVENT_COMMAND && event->event_id != SWITCH_EVENT_MESSAGE)