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

Wolfgang Denk wd at denx.de
Tue Sep 1 21:42:23 CEST 2009


Dear Anton Vorontsov,

In message <20090901182914.GA19443 at oksana.dev.rtsoft.ru> you wrote:
> On Tue, Sep 01, 2009 at 08:16:26PM +0200, Wolfgang Denk wrote:
> > Dear Anton Vorontsov,
> > 
> > In message <20090901165902.GA6435 at oksana.dev.rtsoft.ru> you wrote:
> > > The warning is bogus, so silence it with uninitialized_var().
> > 
> > Which tool chain issues a warning here?
> 
> gcc version 4.0.0 (DENX ELDK 4.0 4.0.0) ;-)

Heh, indeed.

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
A Chairman was as necessary to a Board planet  as  the  zero  was  in
mathematics, but being a zero had big disadvantages...
                         - Terry Pratchett, _The Dark Side of the Sun_


More information about the U-Boot mailing list