Mesa (glsl2): glsl2: Initialize ast_declarator_list:: invariant in constructor

Ian Romanick idr at kemper.freedesktop.org
Fri Jul 2 03:43:39 UTC 2010


Module: Mesa
Branch: glsl2
Commit: 3832706f81d7f5310882eda6d7ef0c3e39593b18
URL:    http://cgit.freedesktop.org/mesa/mesa/commit/?id=3832706f81d7f5310882eda6d7ef0c3e39593b18

Author: Ian Romanick <ian.d.romanick at intel.com>
Date:   Thu Jul  1 17:10:11 2010 -0700

glsl2: Initialize ast_declarator_list::invariant in constructor

---

 src/glsl/glsl_parser_extras.cpp |    1 +
 1 files changed, 1 insertions(+), 0 deletions(-)

diff --git a/src/glsl/glsl_parser_extras.cpp b/src/glsl/glsl_parser_extras.cpp
index 1d16ef5..2e17c4c 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




More information about the mesa-commit mailing list