Skip to content
Snippets Groups Projects
Commit 6cba6b92 authored by Simon Glass's avatar Simon Glass
Browse files

x86: Fix a warning with gcc 4.4.4


This warning appears even though it seems that the compiler could work it
out. Fix it.

Signed-off-by: default avatarSimon Glass <sjg@chromium.org>
parent 258b1357
No related branches found
No related tags found
No related merge requests found
...@@ -238,6 +238,7 @@ static void identify_cpu(struct cpu_device_id *cpu) ...@@ -238,6 +238,7 @@ static void identify_cpu(struct cpu_device_id *cpu)
int i; int i;
vendor_name[0] = '\0'; /* Unset */ vendor_name[0] = '\0'; /* Unset */
cpu->device = 0; /* fix gcc 4.4.4 warning */
/* Find the id and vendor_name */ /* Find the id and vendor_name */
if (!has_cpuid()) { if (!has_cpuid()) {
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment