[U-Boot] [PATCH] board/jse/flash.c: fix GCC 4.6 build warnings

Wolfgang Denk wd at denx.de
Thu Nov 3 20:39:15 CET 2011


Dear Wolfgang Denk,

In message <1319917060-14045-1-git-send-email-wd at denx.de> you wrote:
> Fix:
> flash.c: In function 'flash_erase':
> flash.c:304:24: warning: variable 'l_sect' set but not used
> [-Wunused-but-set-variable]
> 
> In addition, remove some dead code.
> 
> Signed-off-by: Wolfgang Denk <wd at denx.de>
> ---
>  board/jse/flash.c |   15 +--------------
>  1 files changed, 1 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
Any time things appear to be going better, you have overlooked  some-
thing.


More information about the U-Boot mailing list