Merge pull request #433 from dragos-oancea/mod_verto-status--val-never-read

[mod_verto] scan-build: Value stored to 'status' is never read - verto_read_text_frame()
This commit is contained in:
Andrey Volk 2020-02-26 23:53:45 +04:00 committed by GitHub
commit 40251c2cf9
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -5287,7 +5287,7 @@ static switch_status_t verto_read_text_frame(switch_core_session_t *session, swi
switch_mutex_lock(tech_pvt->text_cond_mutex);
status = switch_thread_cond_timedwait(tech_pvt->text_cond, tech_pvt->text_cond_mutex, 100000);
switch_thread_cond_timedwait(tech_pvt->text_cond, tech_pvt->text_cond_mutex, 100000);
switch_mutex_unlock(tech_pvt->text_cond_mutex);
*frame = &tech_pvt->text_read_frame;