[vlc-commits] audio_output/coreaudio: Silence a unused variable warning
Marvin Scholz
git at videolan.org
Thu Feb 15 00:32:15 CET 2018
vlc | branch: master | Marvin Scholz <epirat07 at gmail.com> | Wed Feb 14 23:47:09 2018 +0100| [929d0bd8a5f56c71db557c1f0a035f0df7eeb797] | committer: Marvin Scholz
audio_output/coreaudio: Silence a unused variable warning
Silence a warning about an unused variable, which is only used in an
assert.
> http://git.videolan.org/gitweb.cgi/vlc.git/?a=commit;h=929d0bd8a5f56c71db557c1f0a035f0df7eeb797
---
modules/audio_output/coreaudio_common.c | 1 +
1 file changed, 1 insertion(+)
diff --git a/modules/audio_output/coreaudio_common.c b/modules/audio_output/coreaudio_common.c
index 428e042f03..0fbe41afe7 100644
--- a/modules/audio_output/coreaudio_common.c
+++ b/modules/audio_output/coreaudio_common.c
@@ -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;
More information about the vlc-commits
mailing list