glsl: Fix GCC unused-variable warning in release build.
authorVinson Lee <vlee@freedesktop.org>
Wed, 4 Mar 2015 02:46:13 +0000 (18:46 -0800)
committerVinson Lee <vlee@freedesktop.org>
Thu, 5 Mar 2015 01:20:25 +0000 (17:20 -0800)
commit29c23644cc8cfe9a1cdd75f79a96a1c9b49d26fa
treec8b9f848de64350ec55f9a0e854f4b8acb6d5623
parentb5eb6f769db71557c86c72c3352db149379fdade
glsl: Fix GCC unused-variable warning in release build.

  CXX      ast_array_index.lo
ast_array_index.cpp: In function ‘void update_max_array_access(ir_rvalue*, int, YYLTYPE*, _mesa_glsl_parse_state*)’:
ast_array_index.cpp:86:30: warning: unused variable ‘interface_type’ [-Wunused-variable]
             const glsl_type *interface_type =
                              ^

Signed-off-by: Vinson Lee <vlee@freedesktop.org>
Reviewed-by: Timothy Arceri <t_arceri@yahoo.com.au>
src/glsl/ast_array_index.cpp