glsl: Initialize ast_jump_statement::opt_return_value.
authorVinson Lee <vlee@freedesktop.org>
Sun, 14 Jul 2013 07:57:22 +0000 (00:57 -0700)
committerChad Versace <chad.versace@linux.intel.com>
Tue, 16 Jul 2013 16:03:02 +0000 (09:03 -0700)
commitfa7829c36b78b8ecc42238cbc0a02d1059320c77
tree42a0a64c0ad58c767e4c50aad9adba1714475a7a
parentf74acb98355b789b0e357522162e3a2f513d9785
glsl: Initialize ast_jump_statement::opt_return_value.

opt_return_value was not initialized if mode != ast_return.

Fixes "Uninitialized pointer field" defect reported by Coverity.

Signed-off-by: Vinson Lee <vlee@freedesktop.org>
Reviewed-by: Chad Versace <chad.versace@linux.intel.com>
src/glsl/glsl_parser_extras.cpp