From f5b2988bb0316f52b9dfd672182b3cd45b6f0505 Mon Sep 17 00:00:00 2001 From: Marcus Meissner Date: Sat, 7 Dec 2013 10:51:07 +0100 Subject: [PATCH] winedbg: Added missing breaks (Coverity). --- programs/winedbg/tgt_minidump.c | 1 + tools/winedump/minidump.c | 1 + 2 files changed, 2 insertions(+) diff --git a/programs/winedbg/tgt_minidump.c b/programs/winedbg/tgt_minidump.c index 50801c7348f..4b125765508 100644 --- a/programs/winedbg/tgt_minidump.c +++ b/programs/winedbg/tgt_minidump.c @@ -345,6 +345,7 @@ static enum dbg_start minidump_do_reload(struct tgt_process_minidump_data* data) if (msi->u.s.ProductType == 1) str = "Win7"; else if (msi->u.s.ProductType == 3) str = "Server 2008"; else str = "6-????"; + break; case 2: str = "Win8"; break; default: str = "6-????"; break; } diff --git a/tools/winedump/minidump.c b/tools/winedump/minidump.c index 04213f3580a..321264b9b10 100644 --- a/tools/winedump/minidump.c +++ b/tools/winedump/minidump.c @@ -331,6 +331,7 @@ void mdmp_dump(void) break; default: str = "5-????"; break; } + break; case 6: switch (msi->MinorVersion) {