glsl/ast: Silence uninitialized variable warnings in the release build
authorEmil Velikov <emil.l.velikov@gmail.com>
Mon, 8 Jul 2013 17:29:17 +0000 (18:29 +0100)
committerKenneth Graunke <kenneth@whitecape.org>
Tue, 9 Jul 2013 02:08:30 +0000 (19:08 -0700)
commit4df6823f2147c17161c2cacc89d1a5c17a87aad3
tree6f097ddef7ac711ef7aaef4b9d703724bb761813
parent292368570a13501dfa95b1b0dd70966caf6ffc6b
glsl/ast: Silence uninitialized variable warnings in the release build

Resolves the following gcc warnings

 warning: 'iface_type_name' may be used uninitialized in this function
 warning: 'var_mode' may be used uninitialized in this function

Note: The variables are initialised to UNKNOWN and ir_var_auto

Signed-off-by: Emil Velikov <emil.l.velikov@gmail.com>
Reviewed-by: Ian Romanick <ian.d.romanick@intel.com>
src/glsl/ast_to_hir.cpp