[Mesa-dev] [PATCHv2 4/4] glsl opt_flip_matrices: Silence unused variable warning in the release build

Kenneth Graunke kenneth at whitecape.org
Tue Jul 9 14:15:51 PDT 2013


On 07/08/2013 10:30 AM, Emil Velikov wrote:
> Resolves the following gcc warning
>
>   opt_flip_matrices.cpp:84:32: warning: unused variable 'deref'
>
> v2: keep the variable, but wrap it in a ifndef NDEBUG block(suggested by Ian)
>
> Signed-off-by: Emil Velikov <emil.l.velikov at gmail.com>
> Reviewed-by: Kenneth Graunke <kenneth at whitecape.org>
> ---
> Feel free to commit

I just pushed patches 3 and 4 - thanks!  I'll let Gallium & Nouveau 
folks pick up the first two.

--Ken



More information about the mesa-dev mailing list