From d0d156f50fd61e11f01924fb6bcc71e42b34c95c Mon Sep 17 00:00:00 2001 From: derselbst Date: Sun, 20 May 2018 10:45:35 +0200 Subject: [PATCH] silence gcc4.8 erroneously reporting uninitialized vars --- src/rvoice/fluid_rvoice_mixer.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/rvoice/fluid_rvoice_mixer.c b/src/rvoice/fluid_rvoice_mixer.c index 93b68adc9..df5ef5a69 100644 --- a/src/rvoice/fluid_rvoice_mixer.c +++ b/src/rvoice/fluid_rvoice_mixer.c @@ -801,8 +801,8 @@ fluid_mixer_thread_func (void* data) fluid_rvoice_mixer_t* mixer = buffers->mixer; int hasValidData = 0; FLUID_DECLARE_VLA(fluid_real_t*, bufs, buffers->buf_count*2 + buffers->fx_buf_count*2); - int bufcount; - int current_blockcount; + int bufcount=0; + int current_blockcount=0; fluid_real_t* local_buf = fluid_align_ptr(buffers->local_buf, FLUID_DEFAULT_ALIGNMENT); while (!fluid_atomic_int_get(&mixer->threads_should_terminate)) {