[mod_oreka] scan-build: Value stored to 'linear_frame' is never read - oreka_audio_callback()

This commit is contained in:
Dragos Oancea 2020-02-25 21:37:57 +00:00
parent 42d3100609
commit d1d42dab71
1 changed files with 0 additions and 1 deletions

View File

@ -494,7 +494,6 @@ static switch_bool_t oreka_audio_callback(switch_media_bug_t *bug, void *user_da
raw_frame.data = raw_data;
raw_frame.buflen = SWITCH_RECOMMENDED_BUFFER_SIZE;
linear_frame = &raw_frame;
while (switch_core_media_bug_read(bug, &raw_frame, SWITCH_TRUE) == SWITCH_STATUS_SUCCESS) {
linear_frame = &raw_frame;