提交 97b35e35 编写于 作者: B Blue Swirl

Suppress a GCC warning

Signed-off-by: NBlue Swirl <blauwirbel@gmail.com>
上级 6cb9c6d3
...@@ -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)
static int cpu_x86_fill_host(x86_def_t *x86_cpu_def) 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"; x86_cpu_def->name = "host";
host_cpuid(0x0, 0, &eax, &ebx, &ecx, &edx); host_cpuid(0x0, 0, &eax, &ebx, &ecx, &edx);
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册