Merge pull request #49067 from JFonS/fix_gcc_warnings

Fix some warnings raised by GCC-11.1
This commit is contained in:
Rémi Verschelde 2021-06-01 10:47:37 +02:00 committed by GitHub
commit 59b524ae4c
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
5 changed files with 32 additions and 26 deletions

View file

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