[MPlayer-dev-eng] MNG output support for MPlayer

Diego Biurrun diego at biurrun.de
Sun May 8 20:38:46 CEST 2011


On Sun, May 08, 2011 at 03:41:37PM +0200, Ingo Brückl wrote:
> Diego Biurrun wrote on Sun, 08 May 2011 15:23:00 +0200:
> 
> >> +  (void)i_size; /* ignored */
> 
> > gcc has an attribute for unused function arguments.  I think we already
> > use it in other places.
> 
> What's bad about a void cast?

What's good about a cast in the first place?  Nothing I would say.
I try to avoid casts if at all possible.  Using a void cast to
hide unused parameter warnings is quite ugly IMO.

Diego


More information about the MPlayer-dev-eng mailing list