[MPlayer-dev-eng] [PATCH] remove a bunch of const qualifiers to get rid of compiler warnings
Uoti Urpala
uoti.urpala at pp1.inet.fi
Tue May 5 20:24:21 CEST 2009
On Tue, 2009-05-05 at 20:10 +0200, Diego Biurrun wrote:
> $attached removes const qualifiers from array declarations where gcc was
> warning about 'initialization discards qualifiers from pointer target type'.
>
> This eliminates all the remaining warnings on mplayer.c and mencoder.c.
> I'm not sure this is the best solution though.
That's wrong, those arrays are clearly constant (any code trying to
change them would be badly broken).
More information about the MPlayer-dev-eng
mailing list