diff --git a/target-i386/helper.c b/target-i386/helper.c index 690d7735edf386350b234a49ad44aaa35e746e84..5f335331b148741b4a44b06bfa481b9b4727749c 100644 --- a/target-i386/helper.c +++ b/target-i386/helper.c @@ -297,7 +297,7 @@ static void host_cpuid(uint32_t function, uint32_t count, uint32_t *eax, static int cpu_x86_fill_model_id(char *str) { - uint32_t eax, ebx, ecx, edx; + uint32_t eax = 0, ebx = 0, ecx = 0, edx = 0; int i; for (i = 0; i < 3; i++) {