It seems like the lh_cu variable is not necessary, we can just use
this_cu.
Change-Id: Ic2ed6ee82faf1fb5d340cd92dc8ef15434b20cb8
Approved-By: Tom Tromey <tom@tromey.com>
if (comp_unit_die->tag == DW_TAG_partial_unit)
return;
- dwarf2_per_cu *lh_cu = this_cu;
slot = NULL;
line_header_up lh;
&find_entry, INSERT);
if (*slot != NULL)
{
- lh_cu->file_names = (struct quick_file_names *) *slot;
+ this_cu->file_names = (struct quick_file_names *) *slot;
return;
}
qfn->real_names = NULL;
- lh_cu->file_names = qfn;
+ this_cu->file_names = qfn;
}
/* A helper for the "quick" functions which attempts to read the line