mirror of
https://github.com/godotengine/godot.git
synced 2025-12-08 06:09:55 +00:00
Fix some warnings raised by GCC-11.1
This commit is contained in:
parent
f164c00a94
commit
f8e34209af
5 changed files with 32 additions and 26 deletions
|
|
@ -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);
|
||||
}
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue