diff options
author | Grant Likely <grant.likely@secretlab.ca> | 2006-10-10 00:23:32 -0600 |
---|---|---|
committer | Jon Loeliger <jdl@freescale.com> | 2006-10-12 08:42:03 -0500 |
commit | 1eaf3a5ff4960a46f3a9063568ba2af7883f07c5 (patch) | |
tree | 54b83be5f801444cb8c29789e43a058fbd4ee691 /common/serial.c | |
parent | c3c3b089adcee06df3afd4e8b00a3fea82263bcd (diff) | |
download | u-boot-imx-1eaf3a5ff4960a46f3a9063568ba2af7883f07c5.zip u-boot-imx-1eaf3a5ff4960a46f3a9063568ba2af7883f07c5.tar.gz u-boot-imx-1eaf3a5ff4960a46f3a9063568ba2af7883f07c5.tar.bz2 |
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>
Diffstat (limited to 'common/serial.c')
0 files changed, 0 insertions, 0 deletions