Dear Tom Rini, In message <20141106164628.GR24724@bill-the-cat> you wrote: > > > [net/eth.c:64]: (error) Uninitialized variable: skip_state > > Dense code, like cmd_ini.c my cppcheck is OK and looking at the code > manually I think it's fine too: > return ((skip_state = getenv(enetvar)) != NULL);
Looks OK to me, too, but recent versions of cppcheck spew this error. 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: w...@denx.de "He was so narrow minded he could see through a keyhole with both eyes ..." _______________________________________________ U-Boot mailing list U-Boot@lists.denx.de http://lists.denx.de/mailman/listinfo/u-boot