1
Fork 0
mirror of https://github.com/RGBCube/serenity synced 2025-07-27 03:17:35 +00:00

Everywhere: Remove a bunch of dead write-only variables

LLVM 15 now warns (and thus errors) about this, and there is really no
point in keeping them.
This commit is contained in:
Tim Schumacher 2022-09-13 23:44:19 +02:00 committed by Brian Gianforcaro
parent 643d2a683b
commit 8763dbcccc
8 changed files with 6 additions and 18 deletions

View file

@ -76,14 +76,12 @@ void Mixer::mix()
m_main_volume.advance_time();
int active_queues = 0;
// Mix the buffers together into the output
for (auto& queue : active_mix_queues) {
if (!queue->client()) {
queue->clear();
continue;
}
++active_queues;
queue->volume().advance_time();
for (auto& mixed_sample : mixed_buffer) {