projects
/
mesa.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
906670a
)
glsl: fix uninitialised variable from constructor
author
Dave Airlie
<airlied@gmail.com>
Fri, 30 Nov 2012 10:24:33 +0000
(20:24 +1000)
committer
Dave Airlie
<airlied@gmail.com>
Sat, 1 Dec 2012 01:27:16 +0000
(11:27 +1000)
Coverity pointed out this uninitialised class member.
Note: This is a candidate for stable branches.
Reviewed-by: Brian Paul <brianp@vmware.com>
Signed-off-by: Dave Airlie <airlied@redhat.com>
src/glsl/ir_function_detect_recursion.cpp
patch
|
blob
|
history
diff --git
a/src/glsl/ir_function_detect_recursion.cpp
b/src/glsl/ir_function_detect_recursion.cpp
index 0a5e647cd8875c159abc7ff9e6487f1d50b1720a..4b39f9724e70a1432f15945920e1110d6c3f2ce0 100644
(file)
--- 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);