[Mesa-dev] [PATCH] Fix warnings.
vedran at miletic.net
Sun May 29 13:58:35 UTC 2016
On 05/29/2016 01:54 PM, Romain Failliot wrote:
> Can now compile with -Werror.
> Fixed -Wunused-variable, -Wunused-but-set-variable, -Wmaybe-uninitialized
> and -Wunused-function.
> To prevent warnings for variables only used in asserts, I void them right
> after the call to assert().
The changes look good to me.
GCC 6 on my machine finds a few more warnings, but could be because we
compile different parts of Mesa.
Reviewed-by: Vedran Miletić <vedran at miletic.net>
More information about the mesa-dev