Silence EQ::Band::c1, c2 and c3 may be used uninitialized warnings.

(cherry picked from commit d02143905f)
This commit is contained in:
Marcel Admiraal 2020-05-12 09:47:39 +01:00 committed by Rémi Verschelde
parent e22cff8ccf
commit 253d211102

View File

@ -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); \
}