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: Simon Glass <sjg@chromium.org>
This commit is contained in:
Simon Glass 2014-11-12 20:27:55 -07:00
parent 258b1357c6
commit 6cba6b9209
1 changed files with 1 additions and 0 deletions

View File

@ -238,6 +238,7 @@ static void identify_cpu(struct cpu_device_id *cpu)
int i;
vendor_name[0] = '\0'; /* Unset */
cpu->device = 0; /* fix gcc 4.4.4 warning */
/* Find the id and vendor_name */
if (!has_cpuid()) {