Commit 929d0bd8 authored by Marvin Scholz's avatar Marvin Scholz

audio_output/coreaudio: Silence a unused variable warning

Silence a warning about an unused variable, which is only used in an
assert.
parent ad17fde5
......@@ -214,6 +214,7 @@ ca_Play(audio_output_t * p_aout, block_t * p_block)
bool ret =
TPCircularBufferProduceBytes(&p_sys->circular_buffer,
p_block->p_buffer, i_avalaible_bytes);
VLC_UNUSED(ret);
assert(ret == true);
p_block->p_buffer += i_avalaible_bytes;
p_block->i_buffer -= i_avalaible_bytes;
......
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