glsl2: Initialize ast_declarator_list::invariant in constructor
authorIan Romanick <ian.d.romanick@intel.com>
Fri, 2 Jul 2010 00:10:11 +0000 (17:10 -0700)
committerIan Romanick <ian.d.romanick@intel.com>
Fri, 2 Jul 2010 00:10:11 +0000 (17:10 -0700)
src/glsl/glsl_parser_extras.cpp

index 1d16ef55f5706817ad90bf9550f3689c8143bc0d..2e17c4c33723b8cd6b020d58b8d4a2c2a61de36a 100644 (file)
@@ -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