[vlc-devel] [PATCH] removed some trivial warnings

Rémi Denis-Courmont remi at remlab.net
Tue Aug 24 22:04:48 CEST 2010


Le mardi 24 août 2010 22:37:44 Toralf Niebuhr, vous avez écrit :
> This patch only removes some warning of unused variables and added some
> missing return values.

Unfortunately, returning dummy values after 'assert(0);' can cause "dead code" 
warnings, at least when assertion and optimization are enabled at the same 
time.

If I have to choose between one warning or another, I will choose the one that 
does not generate useless machine code.

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



More information about the vlc-devel mailing list