Module: Mesa
Branch: mesa_7_6_branch
Commit: 00ddd4f9e9680132872f98f2d18b52dfc30c6f2f
URL:    
http://cgit.freedesktop.org/mesa/mesa/commit/?id=00ddd4f9e9680132872f98f2d18b52dfc30c6f2f

Author: Brian Paul <[email protected]>
Date:   Wed Sep 23 15:44:18 2009 -0600

glsl: init var to silence warning

---

 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 349f432..703af9f 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

_______________________________________________
mesa-commit mailing list
[email protected]
http://lists.freedesktop.org/mailman/listinfo/mesa-commit

Reply via email to