summaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorVinson Lee <[email protected]>2010-08-18 16:10:15 -0700
committerVinson Lee <[email protected]>2010-08-18 16:10:15 -0700
commit352e62c3c26c75ddce1345962339f78c64d0aa95 (patch)
tree6bcfabcb8c8dbf94f96b207d26b6e64d304be957 /src
parente1c7f3af0cb6769ef20a954459cfb87b9f99b4d6 (diff)
glsl: Fix uninitialized member in ir_hierarchical_vistor constructor.
Class member base_ir was not initialized by the default constructor.
Diffstat (limited to 'src')
-rw-r--r--src/glsl/ir_hierarchical_visitor.cpp1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/glsl/ir_hierarchical_visitor.cpp b/src/glsl/ir_hierarchical_visitor.cpp
index d475df62fce..809b08ee62c 100644
--- a/src/glsl/ir_hierarchical_visitor.cpp
+++ b/src/glsl/ir_hierarchical_visitor.cpp
@@ -26,6 +26,7 @@
ir_hierarchical_visitor::ir_hierarchical_visitor()
{
+ this->base_ir = NULL;
this->callback = NULL;
this->data = NULL;
}