[U-Boot] [PATCH 03/22] board/mousse/flash.c: Fix GCC 4.6 buil warnings

Wolfgang Denk wd at denx.de
Mon Nov 7 22:18:39 CET 2011


Dear Wolfgang Denk,

In message <1320505999-9770-4-git-send-email-wd at denx.de> you wrote:
> Fix:
> flash.c: In function 'flash_erase':
> flash.c:780:18: warning: variable 'l_sect' set but not used
> [-Wunused-but-set-variable]
> flash.c:779:11: warning: variable 'addr' set but not used
> [-Wunused-but-set-variable]
> 
> Signed-off-by: Wolfgang Denk <wd at denx.de>
> ---
>  board/mousse/flash.c |    8 +-------
>  1 files changed, 1 insertions(+), 7 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
######## This message was made from 100% recycled electrons. ########


More information about the U-Boot mailing list