mirror of https://github.com/xemu-project/xemu.git
Suppress a GCC warning
Signed-off-by: Blue Swirl <blauwirbel@gmail.com>
This commit is contained in:
parent
6cb9c6d36f
commit
97b35e359c
|
@ -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);
|
||||
|
|
Loading…
Reference in New Issue