dbghelp: Initialize ret (Coverity).
This commit is contained in:
parent
d383e84e21
commit
c39cd4c0ce
|
@ -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_stabs = NULL;
|
||||||
IMAGE_SECTION_HEADER* sect_stabstr = NULL;
|
IMAGE_SECTION_HEADER* sect_stabstr = NULL;
|
||||||
int i;
|
int i;
|
||||||
BOOL ret;
|
BOOL ret = FALSE;
|
||||||
|
|
||||||
section = (IMAGE_SECTION_HEADER*)
|
section = (IMAGE_SECTION_HEADER*)
|
||||||
((char*)&nth->OptionalHeader + nth->FileHeader.SizeOfOptionalHeader);
|
((char*)&nth->OptionalHeader + nth->FileHeader.SizeOfOptionalHeader);
|
||||||
|
@ -163,7 +163,7 @@ static BOOL pe_load_dwarf(const struct process* pcs, struct module* module,
|
||||||
int i;
|
int i;
|
||||||
const char* strtable;
|
const char* strtable;
|
||||||
const char* sectname;
|
const char* sectname;
|
||||||
BOOL ret;
|
BOOL ret = FALSE;
|
||||||
|
|
||||||
if (nth->FileHeader.PointerToSymbolTable && nth->FileHeader.NumberOfSymbols)
|
if (nth->FileHeader.PointerToSymbolTable && nth->FileHeader.NumberOfSymbols)
|
||||||
/* FIXME: no way to get strtable size */
|
/* FIXME: no way to get strtable size */
|
||||||
|
|
Loading…
Reference in New Issue