aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMax Kellermann <max@duempel.org>2009-03-14 15:26:27 +0100
committerMax Kellermann <max@duempel.org>2009-03-14 15:26:27 +0100
commitf1eed721d26abc0e6f87374653c0fb6a877f96cc (patch)
tree70f6ee0a6f6244effec62412656b4a6b21f915c0
parent975ca2dae5fee584112dc6d608df80f99c65667d (diff)
downloadmpd-f1eed721d26abc0e6f87374653c0fb6a877f96cc.tar.gz
mpd-f1eed721d26abc0e6f87374653c0fb6a877f96cc.tar.xz
mpd-f1eed721d26abc0e6f87374653c0fb6a877f96cc.zip
output_all: added missing "unused" attribute
In NDEBUG, clear_tail_chunk() does not use its "chunk" parameter.
-rw-r--r--src/output_all.c2
1 files changed, 1 insertions, 1 deletions
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));