From a096942592142c98ccba5f82cea41d53df328137 Mon Sep 17 00:00:00 2001 From: Dave Airlie Date: Fri, 30 Nov 2012 20:24:33 +1000 Subject: [PATCH] glsl: fix uninitialised variable from constructor Coverity pointed out this uninitialised class member. Note: This is a candidate for stable branches. Reviewed-by: Brian Paul Signed-off-by: Dave Airlie (cherry picked from commit f3476ec8fa5a94d469a12318c537b13ce9cc5a45) --- src/glsl/ir_function_detect_recursion.cpp | 1 + 1 file changed, 1 insertion(+) diff --git a/src/glsl/ir_function_detect_recursion.cpp b/src/glsl/ir_function_detect_recursion.cpp index 0a5e647..4b39f97 100644 --- a/src/glsl/ir_function_detect_recursion.cpp +++ b/src/glsl/ir_function_detect_recursion.cpp @@ -173,6 +173,7 @@ public: has_recursion_visitor() : current(NULL) { + progress = false; this->mem_ctx = ralloc_context(NULL); this->function_hash = hash_table_ctor(0, hash_table_pointer_hash, hash_table_pointer_compare); -- 2.7.4