Commit e6f9e6b496fbba419f0f447fbee56a8464a4cc41

Authored by Anthony Liguori
1 parent 2637872b

Initialize cpuid variables

This causes a build break when !KVM.

Signed-off-by: Anthony Liguori <aliguori@us.ibm.com>
Showing 1 changed file with 1 additions and 1 deletions
target-i386/helper.c
... ... @@ -297,7 +297,7 @@ static void host_cpuid(uint32_t function, uint32_t count, uint32_t *eax,
297 297  
298 298 static int cpu_x86_fill_model_id(char *str)
299 299 {
300   - uint32_t eax, ebx, ecx, edx;
  300 + uint32_t eax = 0, ebx = 0, ecx = 0, edx = 0;
301 301 int i;
302 302  
303 303 for (i = 0; i < 3; i++) {
... ...