Commit b40a3a7b by Jason Merrill Committed by Jason Merrill

* decl.c (expand_static_init): Avoid bogus warnings.

From-SVN: r86689
parent bcac21a0
2004-08-28 Jason Merrill <jason@redhat.com>
* decl.c (expand_static_init): Avoid bogus warnings.
2004-08-27 Jason Merrill <jason@redhat.com> 2004-08-27 Jason Merrill <jason@redhat.com>
PR c++/16851 PR c++/16851
......
...@@ -5151,8 +5151,8 @@ expand_static_init (tree decl, tree init) ...@@ -5151,8 +5151,8 @@ expand_static_init (tree decl, tree init)
if (DECL_FUNCTION_SCOPE_P (decl)) if (DECL_FUNCTION_SCOPE_P (decl))
{ {
/* Emit code to perform this initialization but once. */ /* Emit code to perform this initialization but once. */
tree if_stmt, inner_if_stmt; tree if_stmt, inner_if_stmt = NULL_TREE;
tree then_clause, inner_then_clause; tree then_clause, inner_then_clause = NULL_TREE;
tree guard, guard_addr, guard_addr_list; tree guard, guard_addr, guard_addr_list;
tree acquire_fn, release_fn, abort_fn; tree acquire_fn, release_fn, abort_fn;
tree flag, begin; tree flag, begin;
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment