summaryrefslogtreecommitdiff
path: root/servers/audio
diff options
context:
space:
mode:
authorMarcel Admiraal <madmiraal@users.noreply.github.com>2020-05-12 09:47:39 +0100
committerMarcel Admiraal <madmiraal@users.noreply.github.com>2020-05-12 09:47:39 +0100
commitd02143905ff064c78cec5cac96821bfc814143eb (patch)
tree660ce52cd47c63201dd1a1767cddadc10b4e80da /servers/audio
parent6d46d2fe27e8728d0788fe119e8105780035d15d (diff)
Silence EQ::Band::c1, c2 and c3 may be used uninitialized warnings.
Diffstat (limited to 'servers/audio')
-rw-r--r--servers/audio/effects/eq.cpp1
1 files changed, 1 insertions, 0 deletions
diff --git a/servers/audio/effects/eq.cpp b/servers/audio/effects/eq.cpp
index 426f178dcb..b90e8a2726 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); \
}