dbghelp: Dwarf & module's symtype.
- we should set the module's symtype upon success - removed unneeded bRet variable
This commit is contained in:
parent
24743774e8
commit
d396ec31f9
|
@ -2115,7 +2115,6 @@ BOOL dwarf2_parse(struct module* module, unsigned long load_offset,
|
|||
{
|
||||
const unsigned char* comp_unit_cursor = debug;
|
||||
const unsigned char* end_debug = debug + debug_size;
|
||||
BOOL bRet = TRUE;
|
||||
|
||||
while (comp_unit_cursor < end_debug) {
|
||||
dwarf2_abbrev_table_t* abbrev_table;
|
||||
|
@ -2203,5 +2202,7 @@ BOOL dwarf2_parse(struct module* module, unsigned long load_offset,
|
|||
}
|
||||
dwarf2_abbrev_table_free(abbrev_table);
|
||||
}
|
||||
return bRet;
|
||||
|
||||
module->module.SymType = SymDia;
|
||||
return TRUE;
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue