mirror of
https://github.com/ZDoom/fluidsynth.git
synced 2025-02-24 04:42:03 +00:00
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:
parent
b75c8fdb17
commit
f11592a8a4
1 changed files with 1 additions and 1 deletions
|
@ -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;
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue