Put (void)val; here and there to tell gcc we used the variable.
authorSam Hocevar <sam@zoy.org>
Thu, 20 Mar 2008 16:59:11 +0000 (16:59 +0000)
committerSam Hocevar <sam@zoy.org>
Thu, 20 Mar 2008 16:59:11 +0000 (16:59 +0000)
commitcfc98288babeb803bbeb85198fbad529cb35b659
tree32144ccd71bd7cce004fb695ff7a93198914f7e9
parent951c16c72039c9ef696fdd237d6d0304c5df3665
Put (void)val; here and there to tell gcc we used the variable.

The spin_lock wrappers do not use the return value of the functions they
wrap, resulting in dozens of compiler warnings because they are inline
functions. There is no elegant solution to this, I hope using (void)val;
is the least shocking alternative.
include/vlc_threads_funcs.h