[U-Boot] [net/eth.c:64]: (error) Uninitialized variable: skip_state
Tom Rini
trini at ti.com
Thu Nov 6 17:46:28 CET 2014
On Thu, Nov 06, 2014 at 01:37:23PM +0100, Wolfgang Denk wrote:
> Hello,
>
> cppcheck reports:
>
> [net/eth.c:64]: (error) Uninitialized variable: skip_state
>
> can you please have a look? Thanks!
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);
--
Tom
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 836 bytes
Desc: Digital signature
URL: <http://lists.denx.de/pipermail/u-boot/attachments/20141106/735805ac/attachment.pgp>
More information about the U-Boot
mailing list