projects
/
profile
/
ivi
/
mesa.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
7bf3fe8
)
glsl: Initialize member variable in ir_copy_propagation_elements_visitor.
author
Vinson Lee
<vlee@freedesktop.org>
Mon, 30 Apr 2012 07:57:56 +0000
(
00:57
-0700)
committer
Vinson Lee
<vlee@freedesktop.org>
Tue, 1 May 2012 05:28:05 +0000
(22:28 -0700)
Fix uninitialized scalar field defect reported by Coverity.
Signed-off-by: Vinson Lee <vlee@freedesktop.org>
Reviewed-by: Eric Anholt <eric@anholt.net>
src/glsl/opt_copy_propagation_elements.cpp
patch
|
blob
|
history
diff --git
a/src/glsl/opt_copy_propagation_elements.cpp
b/src/glsl/opt_copy_propagation_elements.cpp
index
314db4e
..
11d9d7b
100644
(file)
--- a/
src/glsl/opt_copy_propagation_elements.cpp
+++ b/
src/glsl/opt_copy_propagation_elements.cpp
@@
-93,6
+93,7
@@
public:
ir_copy_propagation_elements_visitor()
{
this->progress = false;
+ this->killed_all = false;
this->mem_ctx = ralloc_context(NULL);
this->shader_mem_ctx = NULL;
this->acp = new(mem_ctx) exec_list;