[PATCH] winedbg: initialize type.module (Coverity)
Marcus Meissner
marcus at jet.franken.de
Thu May 7 03:37:10 CDT 2015
CID 701762 Uninitialized scalar variable
---
programs/winedbg/types.c | 1 +
1 file changed, 1 insertion(+)
diff --git a/programs/winedbg/types.c b/programs/winedbg/types.c
index 6135341..04274b8 100644
--- a/programs/winedbg/types.c
+++ b/programs/winedbg/types.c
@@ -697,6 +697,7 @@ BOOL types_print_type(const struct dbg_type* type, BOOL details)
}
else
{
+ subtype.module = 0;
dbg_printf("<ret_type=self>");
}
dbg_printf(" (*%s)(", name);
--
1.8.4.5
More information about the wine-patches
mailing list