Commit 97b35e359c7f063ef55a1db3c2e200ba431b44e3
1 parent
6cb9c6d3
Suppress a GCC warning
Signed-off-by: Blue Swirl <blauwirbel@gmail.com>
Showing
1 changed file
with
1 additions
and
1 deletions
target-i386/helper.c
@@ -314,7 +314,7 @@ static int cpu_x86_fill_model_id(char *str) | @@ -314,7 +314,7 @@ static int cpu_x86_fill_model_id(char *str) | ||
314 | 314 | ||
315 | static int cpu_x86_fill_host(x86_def_t *x86_cpu_def) | 315 | static int cpu_x86_fill_host(x86_def_t *x86_cpu_def) |
316 | { | 316 | { |
317 | - uint32_t eax, ebx, ecx, edx; | 317 | + uint32_t eax = 0, ebx = 0, ecx = 0, edx = 0; |
318 | 318 | ||
319 | x86_cpu_def->name = "host"; | 319 | x86_cpu_def->name = "host"; |
320 | host_cpuid(0x0, 0, &eax, &ebx, &ecx, &edx); | 320 | host_cpuid(0x0, 0, &eax, &ebx, &ecx, &edx); |