diff options
author | Antony Pavlov <antonynpavlov@gmail.com> | 2011-07-04 00:53:01 +0400 |
---|---|---|
committer | Sascha Hauer <s.hauer@pengutronix.de> | 2011-07-04 08:59:10 +0200 |
commit | 82991fd15fb42ab766876712089cd4a9d7fb477e (patch) | |
tree | 959cd0a64eb86bb119f8ee7ab63ab19f7289cd53 /commands | |
parent | 8a14eb2eadc13e06550828c64859d77aa12b4b15 (diff) | |
download | barebox-82991fd15fb42ab766876712089cd4a9d7fb477e.tar.gz barebox-82991fd15fb42ab766876712089cd4a9d7fb477e.tar.xz |
commands/bootm.c: fix unused-but-set-variable gcc warning
Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
Diffstat (limited to 'commands')
-rw-r--r-- | commands/bootm.c | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/commands/bootm.c b/commands/bootm.c index 34164bcf08..e5ffacb022 100644 --- a/commands/bootm.c +++ b/commands/bootm.c @@ -282,7 +282,6 @@ static int handler_parse_options(struct image_data *data, int opt, char *optarg) static int do_bootm(struct command *cmdtp, int argc, char *argv[]) { - ulong iflag; int opt; image_header_t *os_header; struct image_handle *os_handle, *initrd_handle = NULL; @@ -344,7 +343,7 @@ static int do_bootm(struct command *cmdtp, int argc, char *argv[]) * recover from any failures any more... */ - iflag = disable_interrupts(); + disable_interrupts(); puts ("OK\n"); |