summaryrefslogtreecommitdiff
path: root/common/cmd_bootm.c
diff options
context:
space:
mode:
authorMatthew McClintock <msm@freescale.com>2006-10-11 15:13:01 -0500
committerMatthew McClintock <msm@freescale.com>2006-10-11 15:13:01 -0500
commit7376eb87aaa601f728f9b8e5e9cd2711a67f529e (patch)
treee7fd7c42b85dccbeb3ab29710d165ef37ea0ac5d /common/cmd_bootm.c
parent88c8f4921fc47fb0eb2384b16586f1bd7f275be7 (diff)
downloadu-boot-imx-7376eb87aaa601f728f9b8e5e9cd2711a67f529e.zip
u-boot-imx-7376eb87aaa601f728f9b8e5e9cd2711a67f529e.tar.gz
u-boot-imx-7376eb87aaa601f728f9b8e5e9cd2711a67f529e.tar.bz2
* Fix a bunch of compiler warnings for gcc 4.0
Signed-off-by: Matthew McClintock <msm@freescale.com>
Diffstat (limited to 'common/cmd_bootm.c')
-rw-r--r--common/cmd_bootm.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/common/cmd_bootm.c b/common/cmd_bootm.c
index 04bce76..b785b9e 100644
--- a/common/cmd_bootm.c
+++ b/common/cmd_bootm.c
@@ -623,7 +623,7 @@ do_bootm_linux (cmd_tbl_t *cmdtp, int flag,
/* Look for a '-' which indicates to ignore the ramdisk argument */
if (argc >= 3 && strcmp(argv[2], "-") == 0) {
debug ("Skipping initrd\n");
- data = 0;
+ len = data = 0;
}
else
#endif