[PATCH] dbghelp: initialize ret too (Coverity)
Marcus Meissner
meissner at suse.de
Mon Dec 28 14:14:54 CST 2009
Hi,
Same as in the other patch.
Ciao, Marcus
---
dlls/dbghelp/pe_module.c | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
diff --git a/dlls/dbghelp/pe_module.c b/dlls/dbghelp/pe_module.c
index e19de5e..2937013 100644
--- a/dlls/dbghelp/pe_module.c
+++ b/dlls/dbghelp/pe_module.c
@@ -163,7 +163,7 @@ static BOOL pe_load_dwarf(const struct process* pcs, struct module* module,
int i;
const char* strtable;
const char* sectname;
- BOOL ret;
+ BOOL ret = FALSE;
if (nth->FileHeader.PointerToSymbolTable && nth->FileHeader.NumberOfSymbols)
/* FIXME: no way to get strtable size */
--
1.6.4.2
More information about the wine-patches
mailing list