diff options
author | jfons <joan.fonssanchez@gmail.com> | 2021-05-25 17:03:12 +0200 |
---|---|---|
committer | jfons <joan.fonssanchez@gmail.com> | 2021-05-25 17:23:53 +0200 |
commit | f8e34209afbf5c862c9638c8029dbfc1be67a30c (patch) | |
tree | 2f346562902db92a1e9ba0f24187d8d3a13600ca /servers | |
parent | f164c00a94793234879dc1824bd657db6df939ec (diff) |
Fix some warnings raised by GCC-11.1
Diffstat (limited to 'servers')
-rw-r--r-- | servers/audio_server.cpp | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/servers/audio_server.cpp b/servers/audio_server.cpp index 08c482553b..0e816fd4f8 100644 --- a/servers/audio_server.cpp +++ b/servers/audio_server.cpp @@ -1164,6 +1164,9 @@ void AudioServer::set_bus_layout(const Ref<AudioBusLayout> &p_bus_layout) { Bus::Effect bfx; bfx.effect = fx; bfx.enabled = p_bus_layout->buses[i].effects[j].enabled; +#if DEBUG_ENABLED + bfx.prof_time = 0; +#endif bus->effects.push_back(bfx); } } |