glsl: fix warning in release build
authorGrazvydas Ignotas <notasas@gmail.com>
Sat, 16 Apr 2016 01:00:11 +0000 (04:00 +0300)
committerIan Romanick <ian.d.romanick@intel.com>
Mon, 25 Apr 2016 10:23:16 +0000 (12:23 +0200)
commitbbeb9ab2f71409aad47485e7a1b8900f6839a481
tree6b7d153bb8b6dc9ce3926881637e16209dc5f747
parente4fc06a2f8be2de3a08d4adfa4a26df2ae0b5cae
glsl: fix warning in release build

Mark variable MAYBE_UNUSED to avoid unused-but-set-variable warning in
release build.

Signed-off-by: Grazvydas Ignotas <notasas@gmail.com>
Reviewed-by: Ian Romanick <ian.d.romanick@intel.com>
Reviewed-by: Emil Velikov <emil.velikov@collabora.com>
src/compiler/glsl/lower_buffer_access.cpp