Commit ec456fc5 authored by Max Kellermann's avatar Max Kellermann

output/MultipleOutputs: make variable more local

parent 7c92eb43
......@@ -299,7 +299,6 @@ unsigned
MultipleOutputs::CheckPipe() noexcept
{
const MusicChunk *chunk;
bool is_tail;
bool locked[outputs.size()];
assert(pipe != nullptr);
......@@ -317,7 +316,7 @@ MultipleOutputs::CheckPipe() noexcept
provides a defined value */
elapsed_time = chunk->time;
is_tail = chunk->next == nullptr;
const bool is_tail = chunk->next == nullptr;
if (is_tail)
/* this is the tail of the pipe - clear the
chunk reference in all outputs */
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment