]> git.dujemihanovic.xyz Git - u-boot.git/commit
Fix possible uninitialized variable compiler warning.
authorGrant Likely <grant.likely@secretlab.ca>
Tue, 10 Oct 2006 06:23:32 +0000 (00:23 -0600)
committerJon Loeliger <jdl@freescale.com>
Thu, 12 Oct 2006 13:42:03 +0000 (08:42 -0500)
commit1eaf3a5ff4960a46f3a9063568ba2af7883f07c5
tree54b83be5f801444cb8c29789e43a058fbd4ee691
parentc3c3b089adcee06df3afd4e8b00a3fea82263bcd
Fix possible uninitialized variable compiler warning.

When CONFIG_OF_FLAG_TREE is set, the compiler complains that 'len' in
do_bootm_linux() may be uninitialized.  There is no possibility in the
current code that len will get used uninitialized, but this fix follows
the existing convention of setting both len and data to zero at the same
time.

Signed-off-by: Grant Likely <grant.likely@secretlab.ca>
common/cmd_bootm.c