[U-Boot] [PATCH 2/2] fsl: sys_eeprom: Fix 'may be used uninitialized' warning

Wolfgang Denk wd at denx.de
Tue Sep 1 21:22:47 CEST 2009


Dear Anton Vorontsov,

In message <20090901180613.GA10489 at oksana.dev.rtsoft.ru> you wrote:
>
> Another option is to turn the for loop into do {} while, so
> we can avoid unitialized_var() usage. Something like that:

This is much more difficult to read.


Best regards,

Wolfgang Denk

-- 
DENX Software Engineering GmbH,     MD: Wolfgang Denk & Detlev Zundel
HRB 165235 Munich, Office: Kirchenstr.5, D-82194 Groebenzell, Germany
Phone: (+49)-8142-66989-10 Fax: (+49)-8142-66989-80 Email: wd at denx.de
Witch!  Witch!  They'll burn ya!
	-- Hag, "Tomorrow is Yesterday", stardate unknown


More information about the U-Boot mailing list