glsl: init var to silence warning

This commit is contained in:
Brian Paul 2009-09-23 15:44:18 -06:00
parent e44c084be5
commit 00ddd4f9e9
1 changed files with 1 additions and 1 deletions

View File

@ -2775,7 +2775,7 @@ _slang_gen_while(slang_assemble_ctx * A, slang_operation *oper)
* body code (child[1])
*/
slang_ir_node *loop, *breakIf, *body;
GLboolean isConst, constTrue;
GLboolean isConst, constTrue = GL_FALSE;
if (!A->EmitContReturn) {
/* We don't want to emit CONT instructions. If this while-loop has