[U-Boot] [PATCH 1/4] cmd_bootm: fix compilation warning for assigned but never used variable

Wolfgang Denk wd at denx.de
Sun Jun 24 00:56:08 CEST 2012


Dear Otavio Salvador,

In message <1340482108-18468-1-git-send-email-otavio at ossystems.com.br> you wrote:
> The iflag variable was holding the return of disable_interrupts call
> but the value was not used in the method so we drop the assignment.
> 
> Signed-off-by: Otavio Salvador <otavio at ossystems.com.br>
> ---
>  common/cmd_bootm.c |    3 +--
>  1 file changed, 1 insertion(+), 2 deletions(-)

Please rebase and update your patches; this specific problem for
example has been fixed long ago:

commit a075a79f98cc3f5972a2ed80551c0873217aef7d
Author: Anatolij Gustschin <agust at denx.de>
Date:   Sat May 19 05:38:19 2012 +0000

    common/cmd_bootm.c: Fix GCC 4.6 warning


Best regards,

Wolfgang Denk

-- 
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
"The more data I punch in this card,  the lighter it becomes, and the
lower the mailing cost."
                     - Stan Kelly-Bootle, "The Devil's DP Dictionary"


More information about the U-Boot mailing list