]> git.ipfire.org Git - thirdparty/gcc.git/commitdiff
init.c (build_field_list): Provide uses_unions_p with a default value.
authorJason Molenda <jmolenda@apple.com>
Fri, 11 Oct 2002 18:10:59 +0000 (18:10 +0000)
committerZack Weinberg <zack@gcc.gnu.org>
Fri, 11 Oct 2002 18:10:59 +0000 (18:10 +0000)
2002-10-11  Jason Molenda  <jmolenda@apple.com>

* init.c (build_field_list): Provide uses_unions_p with a default
value.

From-SVN: r58057

gcc/cp/ChangeLog
gcc/cp/init.c

index dddcaacfb3e8f89cfb6c9c137fb86ed7f4edee84..d47dcc70b78fbe54f0236bdef4a81c807a4138aa 100644 (file)
@@ -1,3 +1,8 @@
+2002-10-11  Jason Molenda  <jmolenda@apple.com>
+
+       * init.c (build_field_list): Provide uses_unions_p with a default
+       value.
+
 2002-10-10  Gabriel Dos Reis  <gdr@integrable-solutions.net>
 
        PRs C++/6803, C++/7721 and C++/7803
index a46d853efa422e19bc1828793df1a3f6d5604e08..df63e6767701cb5750f93830025484fea261ca48 100644 (file)
@@ -348,6 +348,8 @@ build_field_list (t, list, uses_unions_p)
 {
   tree fields;
 
+  *uses_unions_p = 0;
+
   /* Note whether or not T is a union.  */
   if (TREE_CODE (t) == UNION_TYPE)
     *uses_unions_p = 1;