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 d475df62fce3dddaf35bd8d2809fae5b558a602b..809b08ee62ce1a673bb4dc78b237e7b97137d8f9 100644 (file)
@@ -26,6 +26,7 @@
 
 ir_hierarchical_visitor::ir_hierarchical_visitor()
 {
+   this->base_ir = NULL;
    this->callback = NULL;
    this->data = NULL;
 }