diff options
author | Brian Paul <[email protected]> | 2009-09-23 15:44:18 -0600 |
---|---|---|
committer | Brian Paul <[email protected]> | 2009-09-24 10:28:09 -0600 |
commit | 00ddd4f9e9680132872f98f2d18b52dfc30c6f2f (patch) | |
tree | 650c2bacb3aaaa2e284c4cff580343cda08471e4 | |
parent | e44c084be536c021985a8908db4300c764c63bbc (diff) |
glsl: init var to silence warning
-rw-r--r-- | src/mesa/shader/slang/slang_codegen.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/mesa/shader/slang/slang_codegen.c b/src/mesa/shader/slang/slang_codegen.c index 349f432deca..703af9f8740 100644 --- a/src/mesa/shader/slang/slang_codegen.c +++ b/src/mesa/shader/slang/slang_codegen.c @@ -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 |