]> git.kernelconcepts.de Git - karo-tx-uboot.git/commit
fsl: sys_eeprom: Fix 'may be used uninitialized' warning
authorAnton Vorontsov <avorontsov@ru.mvista.com>
Tue, 1 Sep 2009 22:17:24 +0000 (02:17 +0400)
committerTom Rix <Tom.Rix@windriver.com>
Sat, 3 Oct 2009 14:04:15 +0000 (09:04 -0500)
commitae3565aac5b75145fc3a2e79e1080c09d3231ca7
tree32fcc9538af1468d46ca46a854fe862369ff1cd7
parent20f02c3b760d33f67378a9bcff177a8012cd6a17
fsl: sys_eeprom: Fix 'may be used uninitialized' warning

The warning is bogus, so silence it by initializing the 'ret' variable.

Signed-off-by: Anton Vorontsov <avorontsov@ru.mvista.com>
Acked-by: Timur Tabi <timur@freescale.com>
Signed-off-by: Kumar Gala <galak@kernel.crashing.org>
board/freescale/common/sys_eeprom.c