From: Brian Paul Date: Wed, 23 Sep 2009 21:44:18 +0000 (-0600) Subject: glsl: init var to silence warning X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=00ddd4f9e9680132872f98f2d18b52dfc30c6f2f;p=mesa.git glsl: init var to silence warning --- 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