* decl.c (reshape_init): Remove unreachable code.

From-SVN: r69741
This commit is contained in:
Nathan Sidwell 2003-07-24 12:56:34 +00:00 committed by Nathan Sidwell
parent a4878735c2
commit ee20f4ee2b
2 changed files with 5 additions and 7 deletions

View File

@ -1,3 +1,7 @@
2003-07-24 Nathan Sidwell <nathan@codesourcery.com>
* decl.c (reshape_init): Remove unreachable code.
2003-07-24 Kriang Lerdsuwanakij <lerdsuwa@users.sourceforge.net>
PR c++/11513

View File

@ -7465,13 +7465,7 @@ reshape_init (tree type, tree *initp)
old_init_value = (TREE_CODE (*initp) == TREE_LIST
? TREE_VALUE (*initp) : old_init);
/* For some parse errors, OLD_INIT_VALUE may be NULL. */
if (!old_init_value)
{
my_friendly_assert (TREE_CODE (old_init) == TREE_LIST, 20021202);
TREE_VALUE (old_init) = error_mark_node;
return old_init;
}
my_friendly_assert (old_init_value, 20030723);
/* If the initializer is brace-enclosed, pull initializers from the
enclosed elements. Advance past the brace-enclosed initializer