[core] scan-build: Value stored to 'status' is never read - switch_core_session_write_frame()
This commit is contained in:
parent
60cf5a0a3c
commit
165ca28fa1
|
@ -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;
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue