[U-Boot] [PATCH 56/56] board/alaska/flash.c: Fix GCC 4.6 build warnings
Wolfgang Denk
wd at denx.de
Mon Nov 7 22:17:39 CET 2011
Dear Wolfgang Denk,
In message <1320458160-23136-57-git-send-email-wd at denx.de> you wrote:
> Fix:
> flash.c: In function 'flash_erase':
> flash.c:409:21: warning: variable 'last' set but not used
> [-Wunused-but-set-variable]
> flash.c:408:6: warning: variable 'flag' set but not used
> [-Wunused-but-set-variable]
> flash.c: In function 'write_data':
> flash.c:669:6: warning: variable 'flag' set but not used
> [-Wunused-but-set-variable]
> flash.c: In function 'write_data_block':
> flash.c:709:6: warning: variable 'flag' set but not used
> [-Wunused-but-set-variable]
>
> Signed-off-by: Wolfgang Denk <wd at denx.de>
> ---
> board/alaska/flash.c | 37 +++++++++++++++++++++++--------------
> 1 files changed, 23 insertions(+), 14 deletions(-)
Applied, thanks.
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
Ever try. Ever fail. No matter. Try again. Fail again. Fail better.
-- S. Beckett
More information about the U-Boot
mailing list