Merge pull request #431 from dragos-oancea/mod_oreka-linear-frame--val-never-read

[mod_oreka] scan-build: Value stored to 'linear_frame' is never read oreka_audio_callback()
This commit is contained in:
Andrey Volk 2020-02-26 23:51:50 +04:00 committed by GitHub
commit caec8a3054
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

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;