dbghelp: Initialize ret (Coverity).

oldstable
Marcus Meissner 2009-12-28 21:13:10 +01:00 committed by Alexandre Julliard
parent d383e84e21
commit c39cd4c0ce
1 changed files with 2 additions and 2 deletions

View File

@ -122,7 +122,7 @@ static BOOL pe_load_stabs(const struct process* pcs, struct module* module,
IMAGE_SECTION_HEADER* sect_stabs = NULL;
IMAGE_SECTION_HEADER* sect_stabstr = NULL;
int i;
BOOL ret;
BOOL ret = FALSE;
section = (IMAGE_SECTION_HEADER*)
((char*)&nth->OptionalHeader + nth->FileHeader.SizeOfOptionalHeader);
@ -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 */