aboutsummaryrefslogtreecommitdiff
path: root/mesalib/src/glsl/ast.h
diff options
context:
space:
mode:
Diffstat (limited to 'mesalib/src/glsl/ast.h')
-rw-r--r--mesalib/src/glsl/ast.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/mesalib/src/glsl/ast.h b/mesalib/src/glsl/ast.h
index ff4bb0d6a..ff603b352 100644
--- a/mesalib/src/glsl/ast.h
+++ b/mesalib/src/glsl/ast.h
@@ -311,7 +311,8 @@ private:
class ast_aggregate_initializer : public ast_expression {
public:
ast_aggregate_initializer()
- : ast_expression(ast_aggregate, NULL, NULL, NULL)
+ : ast_expression(ast_aggregate, NULL, NULL, NULL),
+ constructor_type(NULL)
{
/* empty */
}