aboutsummaryrefslogtreecommitdiff
path: root/target-i386
diff options
context:
space:
mode:
authorBlue Swirl <blauwirbel@gmail.com>2009-07-01 19:30:50 +0000
committerBlue Swirl <blauwirbel@gmail.com>2009-07-01 19:30:50 +0000
commit97b35e359c7f063ef55a1db3c2e200ba431b44e3 (patch)
treede79c794aefc5aec90bf20d01a2df9a20b0acd72 /target-i386
parent6cb9c6d36f17c964a7e5b56c5452178f0e3abdb4 (diff)
downloadqemu-97b35e359c7f063ef55a1db3c2e200ba431b44e3.zip
qemu-97b35e359c7f063ef55a1db3c2e200ba431b44e3.tar.gz
qemu-97b35e359c7f063ef55a1db3c2e200ba431b44e3.tar.bz2
Suppress a GCC warning
Signed-off-by: Blue Swirl <blauwirbel@gmail.com>
Diffstat (limited to 'target-i386')
-rw-r--r--target-i386/helper.c2
1 files changed, 1 insertions, 1 deletions
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);