output_all: added missing "unused" attribute

In NDEBUG, clear_tail_chunk() does not use its "chunk" parameter.
This commit is contained in:
Max Kellermann 2009-03-14 15:26:27 +01:00
parent 975ca2dae5
commit f1eed721d2

View File

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