qemu-commits
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Qemu-commits] [COMMIT 97b35e3] Suppress a GCC warning


From: Anthony Liguori
Subject: [Qemu-commits] [COMMIT 97b35e3] Suppress a GCC warning
Date: Wed, 01 Jul 2009 19:34:16 -0000

From: Blue Swirl <address@hidden>

Signed-off-by: Blue Swirl <address@hidden>

diff --git a/target-i386/helper.c b/target-i386/helper.c
index bcaaab7..82e1ff1 100644
--- a/target-i386/helper.c
+++ b/target-i386/helper.c
@@ -314,7 +314,7 @@ static int cpu_x86_fill_model_id(char *str)
 
 static int cpu_x86_fill_host(x86_def_t *x86_cpu_def)
 {
-    uint32_t eax, ebx, ecx, edx;
+    uint32_t eax = 0, ebx = 0, ecx = 0, edx = 0;
 
     x86_cpu_def->name = "host";
     host_cpuid(0x0, 0, &eax, &ebx, &ecx, &edx);




reply via email to

[Prev in Thread] Current Thread [Next in Thread]