[PATCH 03/31] [DbgHelp]: dwarf & module's symtype
Eric Pouech
eric.pouech at wanadoo.fr
Sun Jun 18 14:30:52 CDT 2006
- we should set the module's symtype upon success
- removed unneeded bRet variable
A+
---
dlls/dbghelp/dwarf.c | 5 +++--
1 files changed, 3 insertions(+), 2 deletions(-)
diff --git a/dlls/dbghelp/dwarf.c b/dlls/dbghelp/dwarf.c
index 3ddefe1..b13bd09 100644
--- a/dlls/dbghelp/dwarf.c
+++ b/dlls/dbghelp/dwarf.c
@@ -2115,7 +2115,6 @@ BOOL dwarf2_parse(struct module* module,
{
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,
}
dwarf2_abbrev_table_free(abbrev_table);
}
- return bRet;
+
+ module->module.SymType = SymDia;
+ return TRUE;
}
More information about the wine-patches
mailing list