common/cmd_bootm.c: Fix GCC 4.6 warning
PATCH 1/1 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 <[email protected]>
---
This is needed after merging the pending ARM pull request.
common/cmd_bootm.c | 3 +-- 1 files changed, 1 insertions(+), 2 deletions(-)
common/cmd_bootm.c +1 -2
@@ -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[]) { -ulong iflag;bootm_headers_t 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 * recover from any failures any more... */ - iflag =disable_interrupts (); +disable_interrupts ();#if defined(CONFIG_CMD_USB )/*
Signature · 1 line
1.7.7.6
Wolfgang Denk
AppliedPATCH 1/1 common/cmd_bootm.c: Fix GCC 4.6 warning
Dear Anatolij Gustschin,
Quoted 10 lines · In message <[email protected]> you wrote:
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 <[email protected]>---
This is needed after merging the pending ARM pull request.common/cmd_bootm.c | 3 +-- 1 files changed, 1 insertions(+), 2 deletions(-)
Applied, thanks.
Best regards,
Wolfgang Denk
Signature · 5 lines
DENX Software Engineering GmbH, MD: Wolfgang Denk & Detlev Zundel
HRB 165235 Munich, Office: Kirchenstr.5, D-82194 Groebenzell, Germany
Phone: (+49)-8142-66989-10 Fax: (+49)-8142-66989-80 Email: wd at denx.de
Speculation is always more interesting than facts.
- Terry Pratchett, _Making_Money_