From c39cd4c0ce4266a09bb71fcc59d3583f1a55f919 Mon Sep 17 00:00:00 2001 From: Marcus Meissner Date: Mon, 28 Dec 2009 21:13:10 +0100 Subject: [PATCH] dbghelp: Initialize ret (Coverity). --- dlls/dbghelp/pe_module.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/dlls/dbghelp/pe_module.c b/dlls/dbghelp/pe_module.c index 5cce6a324b0..2937013feeb 100644 --- a/dlls/dbghelp/pe_module.c +++ b/dlls/dbghelp/pe_module.c @@ -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 */