diff options
author | Anthony Liguori <aliguori@us.ibm.com> | 2009-07-16 21:33:48 -0500 |
---|---|---|
committer | Anthony Liguori <aliguori@us.ibm.com> | 2009-07-16 22:04:02 -0500 |
commit | e6f9e6b496fbba419f0f447fbee56a8464a4cc41 (patch) | |
tree | 0d6d1cd66f9d4003ec94cb1342fd52893ca8b23a /target-i386/helper.c | |
parent | 2637872ba82baf9730ba0653129027a64e4f81e3 (diff) |
Initialize cpuid variables
This causes a build break when !KVM.
Signed-off-by: Anthony Liguori <aliguori@us.ibm.com>
Diffstat (limited to 'target-i386/helper.c')
-rw-r--r-- | target-i386/helper.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/target-i386/helper.c b/target-i386/helper.c index 690d7735ed..5f335331b1 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++) { |