[vlc-devel] [PATCH] Again compilation warnings fixes

Rémi Denis-Courmont remi at remlab.net
Sun Jan 9 19:55:51 CET 2011


Le dimanche 9 janvier 2011 20:46:28 Guillaume Poussel, vous avez écrit :
> Hi all,
> 
> This patch solves compilation warnings : lot of unused vars and few
> signed/unsigned comparisons.
> Compilation ok

I don't see the point of replacing (void) casts with VLC_UNUSED which is the 
exact same thing.

Also we don't return after assert(0) because some compilers and code analyzers 
*correctly* generate dead code warnings then.

-- 
Rémi Denis-Courmont
http://www.remlab.net/
http://fi.linkedin.com/in/remidenis



More information about the vlc-devel mailing list