libs/wine: Avoid compiler warnings about unused parameter(-W)
Alexandre Julliard
julliard at winehq.org
Mon Nov 5 07:10:23 CST 2007
Detlef Riekenberg <wine.dev at web.de> writes:
> Changelog:
> libs/wine: Avoid compiler warnings about unused parameter(-W)
>
> The code-sequence is optimized away.
> Another option would be "__attribute__((unused__))"
> or removing the function.
The best option is to not enable the warning. There are plenty of cases
where it's legitimate to not use a parameter, that warning is not
useful.
--
Alexandre Julliard
julliard at winehq.org
More information about the wine-devel
mailing list