[core] scan-build: Value stored to 'status' is never read - switch_core_session_write_frame()

This commit is contained in:
Dragos Oancea 2020-02-12 19:10:38 +00:00 committed by Andrey Volk
parent 60cf5a0a3c
commit 165ca28fa1
1 changed files with 1 additions and 1 deletions

View File

@ -15881,7 +15881,7 @@ SWITCH_DECLARE(switch_status_t) switch_core_session_write_frame(switch_core_sess
goto error;
}
if (ptime_mismatch && status != SWITCH_STATUS_GENERR) {
status = perform_write(session, frame, flags, stream_id);
perform_write(session, frame, flags, stream_id);
status = SWITCH_STATUS_SUCCESS;
goto error;
}