mirror of
https://github.com/libretro/RetroArch
synced 2025-02-21 00:40:09 +00:00
(DSP IIR) Prevent '-Wmaybe-uninitialized' warnings
This commit is contained in:
parent
b7b96fb142
commit
ce185d8be6
@ -223,7 +223,8 @@ static void iir_filter_init(struct iir_data *iir,
|
|||||||
case RIAA_phono: /* http://www.dsprelated.com/showmessage/73300/3.php */
|
case RIAA_phono: /* http://www.dsprelated.com/showmessage/73300/3.php */
|
||||||
{
|
{
|
||||||
double y, b_re, a_re, b_im, a_im, g;
|
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)
|
if ((int)sample_rate == 44100)
|
||||||
{
|
{
|
||||||
|
Loading…
x
Reference in New Issue
Block a user