From 8a8a700513719c8f4f5fbbf7d038756424a39698 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Andr=C3=A9=20Hentschel?= Date: Wed, 15 Jun 2011 20:51:45 +0200 Subject: [PATCH] kernel32: Initialise dwProcessorType. --- dlls/kernel32/cpu.c | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/dlls/kernel32/cpu.c b/dlls/kernel32/cpu.c index 5d45941ba85..560c060f5e4 100644 --- a/dlls/kernel32/cpu.c +++ b/dlls/kernel32/cpu.c @@ -157,7 +157,9 @@ VOID WINAPI GetSystemInfo( case PROCESSOR_ARCHITECTURE_AMD64: si->dwProcessorType = PROCESSOR_AMD_X8664; break; - default: FIXME("Unknown processor architecture %x\n", sci.Architecture); + default: + FIXME("Unknown processor architecture %x\n", sci.Architecture); + si->dwProcessorType = 0; } si->dwAllocationGranularity = sbi.AllocationGranularity; si->wProcessorLevel = sci.Level;