Same expression on both sides of '||'.

wakeup_threads_m replaced with thread_ready_m. Spotted thanks to cppcheck.

Signed-off-by: Carlos Olmedo Escobar <carlos.olmedo.e@gmail.com>
This commit is contained in:
Carlos Olmedo Escobar 2015-01-21 19:00:50 +01:00 committed by David Henningsson
parent b75c8fdb17
commit f11592a8a4

View file

@ -563,7 +563,7 @@ new_fluid_rvoice_mixer(int buf_count, int fx_buf_count, fluid_real_t sample_rate
mixer->thread_ready_m = new_fluid_cond_mutex();
mixer->wakeup_threads_m = new_fluid_cond_mutex();
if (!mixer->thread_ready || !mixer->wakeup_threads ||
!mixer->wakeup_threads_m || !mixer->wakeup_threads_m) {
!mixer->thread_ready_m || !mixer->wakeup_threads_m) {
delete_fluid_rvoice_mixer(mixer);
return NULL;
}