output_all: added missing "unused" attribute
In NDEBUG, clear_tail_chunk() does not use its "chunk" parameter.
This commit is contained in:
parent
975ca2dae5
commit
f1eed721d2
@ -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));
|
||||||
|
Loading…
Reference in New Issue
Block a user