Eric Pouech : dbghelp: Dwarf & module's symtype.

Alexandre Julliard julliard at wine.codeweavers.com
Tue Jun 20 05:23:23 CDT 2006


Module: wine
Branch: refs/heads/master
Commit: d396ec31f98836c9845d30bd039e8f75425bd9f4
URL:    http://source.winehq.org/git/?p=wine.git;a=commit;h=d396ec31f98836c9845d30bd039e8f75425bd9f4

Author: Eric Pouech <eric.pouech at wanadoo.fr>
Date:   Sun Jun 18 21:30:52 2006 +0200

dbghelp: Dwarf & module's symtype.

- we should set the module's symtype upon success
- removed unneeded bRet variable

---

 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-cvs mailing list