i915: Fix GCC unused-variable warning in release build.
authorVinson Lee <vlee@freedesktop.org>
Wed, 4 Mar 2015 02:54:48 +0000 (18:54 -0800)
committerVinson Lee <vlee@freedesktop.org>
Sat, 7 Mar 2015 05:41:46 +0000 (21:41 -0800)
commit1ca39ec03cfba9c032f6e3b8b6c1f24e69bf96ac
tree80fae060f7e7a0dd744446541b408595e4868356
parentb28c037d64ac7cee7e2c7d9d33b128d62aa4df8a
i915: Fix GCC unused-variable warning in release build.

i915_debug_fp.c: In function ‘i915_disassemble_program’:
i915_debug_fp.c:302:11: warning: unused variable ‘size’ [-Wunused-variable]
    GLuint size = program[0] & 0x1ff;
           ^

Signed-off-by: Vinson Lee <vlee@freedesktop.org>
Reviewed-by: Timothy Arceri <t_arceri@yahoo.com.au>
src/mesa/drivers/dri/i915/i915_debug_fp.c