i915: Fix GCC unused-but-set-variable warning in release build.
authorVinson Lee <vlee@freedesktop.org>
Sat, 7 Mar 2015 05:52:31 +0000 (21:52 -0800)
committerVinson Lee <vlee@freedesktop.org>
Tue, 10 Mar 2015 00:28:39 +0000 (17:28 -0700)
commit282f67becd072068147c95f26d9c705acf1bbe1b
treefe44d50f0ad31d7dfda103f7a505d22865cdab8b
parent5f759836ad75360a2f4581083043a86f7a8c1e09
i915: Fix GCC unused-but-set-variable warning in release build.

i915_fragprog.c: In function ‘i915ValidateFragmentProgram’:
i915_fragprog.c:1453:11: warning: variable ‘k’ set but not used [-Wunused-but-set-variable]
       int k;
           ^

Signed-off-by: Vinson Lee <vlee@freedesktop.org>
Reviewed-by: Anuj Phogat <anuj.phogat@gmail.com>
src/mesa/drivers/dri/i915/i915_fragprog.c