mirror of
https://github.com/AsahiLinux/u-boot
synced 2025-02-26 20:37:16 +00:00
common/cmd_bootm.c: Fix GCC 4.6 warning
cmd_bootm.c: In function 'do_bootz': cmd_bootm.c:1590:9: warning: variable 'iflag' set but not used [-Wunused-but-set-variable] Signed-off-by: Anatolij Gustschin <agust@denx.de>
This commit is contained in:
parent
2ab5be7af0
commit
a075a79f98
1 changed files with 1 additions and 2 deletions
|
@ -1587,7 +1587,6 @@ static int bootz_start(cmd_tbl_t *cmdtp, int flag, int argc,
|
||||||
|
|
||||||
static int do_bootz(cmd_tbl_t *cmdtp, int flag, int argc, char * const argv[])
|
static int do_bootz(cmd_tbl_t *cmdtp, int flag, int argc, char * const argv[])
|
||||||
{
|
{
|
||||||
ulong iflag;
|
|
||||||
bootm_headers_t images;
|
bootm_headers_t images;
|
||||||
|
|
||||||
if (bootz_start(cmdtp, flag, argc, argv, &images))
|
if (bootz_start(cmdtp, flag, argc, argv, &images))
|
||||||
|
@ -1598,7 +1597,7 @@ static int do_bootz(cmd_tbl_t *cmdtp, int flag, int argc, char * const argv[])
|
||||||
* overwrite all exception vector code, so we cannot easily
|
* overwrite all exception vector code, so we cannot easily
|
||||||
* recover from any failures any more...
|
* recover from any failures any more...
|
||||||
*/
|
*/
|
||||||
iflag = disable_interrupts();
|
disable_interrupts();
|
||||||
|
|
||||||
#if defined(CONFIG_CMD_USB)
|
#if defined(CONFIG_CMD_USB)
|
||||||
/*
|
/*
|
||||||
|
|
Loading…
Add table
Reference in a new issue