Commit f1eed721 authored by Max Kellermann's avatar Max Kellermann

output_all: added missing "unused" attribute

In NDEBUG, clear_tail_chunk() does not use its "chunk" parameter.
parent 975ca2da
...@@ -326,7 +326,7 @@ chunk_is_consumed(const struct music_chunk *chunk) ...@@ -326,7 +326,7 @@ chunk_is_consumed(const struct music_chunk *chunk)
* outputs have consumed it already. Clear the reference. * outputs have consumed it already. Clear the reference.
*/ */
static void static void
clear_tail_chunk(const struct music_chunk *chunk, bool *locked) clear_tail_chunk(G_GNUC_UNUSED const struct music_chunk *chunk, bool *locked)
{ {
assert(chunk->next == NULL); assert(chunk->next == NULL);
assert(music_pipe_contains(g_mp, chunk)); assert(music_pipe_contains(g_mp, chunk));
......
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