From d02143905ff064c78cec5cac96821bfc814143eb Mon Sep 17 00:00:00 2001 From: Marcel Admiraal Date: Tue, 12 May 2020 09:47:39 +0100 Subject: [PATCH] Silence EQ::Band::c1, c2 and c3 may be used uninitialized warnings. --- servers/audio/effects/eq.cpp | 1 + 1 file changed, 1 insertion(+) diff --git a/servers/audio/effects/eq.cpp b/servers/audio/effects/eq.cpp index 426f178dcb5..b90e8a27264 100644 --- a/servers/audio/effects/eq.cpp +++ b/servers/audio/effects/eq.cpp @@ -125,6 +125,7 @@ void EQ::set_preset_band_mode(Preset p_preset) { for (int i = 0; i < m_bands; i++) { \ Band b; \ b.freq = bands[i]; \ + b.c1 = b.c2 = b.c3 = 0; \ band.push_back(b); \ }