summaryrefslogtreecommitdiffstats
path: root/src/glsl/glsl_parser_extras.cpp
diff options
context:
space:
mode:
authorIan Romanick <[email protected]>2010-07-01 17:10:11 -0700
committerIan Romanick <[email protected]>2010-07-01 17:10:11 -0700
commit3832706f81d7f5310882eda6d7ef0c3e39593b18 (patch)
treefa33797408f99f6cb425ec5f4a156fc8e1684f93 /src/glsl/glsl_parser_extras.cpp
parent12873fa4e332959295154edfe957c0af79af5e74 (diff)
glsl2: Initialize ast_declarator_list::invariant in constructor
Diffstat (limited to 'src/glsl/glsl_parser_extras.cpp')
-rw-r--r--src/glsl/glsl_parser_extras.cpp1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/glsl/glsl_parser_extras.cpp b/src/glsl/glsl_parser_extras.cpp
index 1d16ef55f57..2e17c4c3372 100644
--- a/src/glsl/glsl_parser_extras.cpp
+++ b/src/glsl/glsl_parser_extras.cpp
@@ -484,6 +484,7 @@ ast_declarator_list::print(void) const
ast_declarator_list::ast_declarator_list(ast_fully_specified_type *type)
{
this->type = type;
+ this->invariant = false;
}
void