Unverified Commit 092b2bd3 by Rémi Verschelde Committed by GitHub

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

Silence EQ::Band::c1, c2 and c3 may be used uninitialized warnings.
parents 02bcaa7a d0214390
......@@ -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); \
}
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment