From: Vinson Lee Date: Wed, 18 Aug 2010 23:10:15 +0000 (-0700) Subject: glsl: Fix uninitialized member in ir_hierarchical_vistor constructor. X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=352e62c3c26c75ddce1345962339f78c64d0aa95;p=mesa.git glsl: Fix uninitialized member in ir_hierarchical_vistor constructor. Class member base_ir was not initialized by the default constructor. --- 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; }