glsl: Fix uninitialized member in ir_hierarchical_vistor constructor.
authorVinson Lee <vlee@vmware.com>
Wed, 18 Aug 2010 23:10:15 +0000 (16:10 -0700)
committerVinson Lee <vlee@vmware.com>
Wed, 18 Aug 2010 23:10:15 +0000 (16:10 -0700)
Class member base_ir was not initialized by the default constructor.

src/glsl/ir_hierarchical_visitor.cpp

index d475df6..809b08e 100644 (file)
@@ -26,6 +26,7 @@
 
 ir_hierarchical_visitor::ir_hierarchical_visitor()
 {
+   this->base_ir = NULL;
    this->callback = NULL;
    this->data = NULL;
 }