Merge pull request #38691 from madmiraal/fix-eq-uninitialised-warning

Silence EQ::Band::c1, c2 and c3 may be used uninitialized warnings.
This commit is contained in:
Rémi Verschelde 2020-05-12 11:50:50 +02:00 committed by GitHub
commit 092b2bd36f
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

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