(DSP IIR) Prevent '-Wmaybe-uninitialized' warnings

This commit is contained in:
twinaphex 2020-08-25 13:21:22 +02:00
parent b7b96fb142
commit ce185d8be6

View File

@ -223,7 +223,8 @@ static void iir_filter_init(struct iir_data *iir,
case RIAA_phono: /* http://www.dsprelated.com/showmessage/73300/3.php */
{
double y, b_re, a_re, b_im, a_im, g;
float b[3], a[3];
float b[3] = {0.0f};
float a[3] = {0.0f};
if ((int)sample_rate == 44100)
{