summaryrefslogtreecommitdiff
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
commit96bf120b9c9030e142fa5fa8fd59f65c01567c1c (patch)
treede79c794aefc5aec90bf20d01a2df9a20b0acd72
parentc6988cc519607403c9cad19448b7a212126fc5ee (diff)
downloadqemu-96bf120b9c9030e142fa5fa8fd59f65c01567c1c.tar.gz
qemu-96bf120b9c9030e142fa5fa8fd59f65c01567c1c.tar.bz2
qemu-96bf120b9c9030e142fa5fa8fd59f65c01567c1c.zip
Suppress a GCC warning
Signed-off-by: Blue Swirl <blauwirbel@gmail.com>
-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 bcaaab71a4..82e1ff114c 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);