glsl: Silence unused variable warning in the release build
authorEmil Velikov <emil.l.velikov@gmail.com>
Mon, 8 Jul 2013 17:30:44 +0000 (18:30 +0100)
committerKenneth Graunke <kenneth@whitecape.org>
Tue, 9 Jul 2013 02:08:42 +0000 (19:08 -0700)
commitf0260f4e3d939c93ec6ef3b6b330383fe9944d93
tree3cd5b97f488e5b8a4ed3942ea309068ff46186e2
parent4df6823f2147c17161c2cacc89d1a5c17a87aad3
glsl: Silence unused variable warning in the release build

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@gmail.com>
Reviewed-by: Kenneth Graunke <kenneth@whitecape.org>
src/glsl/opt_flip_matrices.cpp