From 352e62c3c26c75ddce1345962339f78c64d0aa95 Mon Sep 17 00:00:00 2001 From: Vinson Lee Date: Wed, 18 Aug 2010 16:10:15 -0700 Subject: [PATCH] glsl: Fix uninitialized member in ir_hierarchical_vistor constructor. Class member base_ir was not initialized by the default constructor. --- src/glsl/ir_hierarchical_visitor.cpp | 1 + 1 file changed, 1 insertion(+) 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; } -- 2.30.2