From f1eed721d26abc0e6f87374653c0fb6a877f96cc Mon Sep 17 00:00:00 2001 From: Max Kellermann Date: Sat, 14 Mar 2009 15:26:27 +0100 Subject: output_all: added missing "unused" attribute In NDEBUG, clear_tail_chunk() does not use its "chunk" parameter. --- src/output_all.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/output_all.c b/src/output_all.c index 39c66f64a..d5c388b3b 100644 --- a/src/output_all.c +++ b/src/output_all.c @@ -326,7 +326,7 @@ chunk_is_consumed(const struct music_chunk *chunk) * outputs have consumed it already. Clear the reference. */ 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(music_pipe_contains(g_mp, chunk)); -- cgit v1.2.3