* dwarf2read.c (read_structure_scope): Correct overzealous

addition of cu_header argument.
This commit is contained in:
Jim Blandy 2000-07-24 17:07:26 +00:00
parent 360e95866f
commit 8713b1b135
1 changed files with 1 additions and 1 deletions

View File

@ -2220,7 +2220,7 @@ read_structure_scope (struct die_info *die, struct objfile *objfile,
/* C++ static member. */
dwarf2_add_field (&fi, child_die, objfile, cu_header);
}
else if (child_die->tag == DW_TAG_subprogram, cu_header)
else if (child_die->tag == DW_TAG_subprogram)
{
/* C++ member function. */
process_die (child_die, objfile, cu_header);