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

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


Dear Wolfgang Denk,

In message <1319917064-14085-1-git-send-email-wd at denx.de> you wrote:
> Fix:
> strataflash.c: In function 'flash_write_cfiword':
> strataflash.c:669:11: warning: variable 'ctladdr' set but not used
> [-Wunused-but-set-variable]
> 
> Signed-off-by: Wolfgang Denk <wd at denx.de>
> ---
>  board/g2000/strataflash.c |    3 ---
>  1 files changed, 0 insertions(+), 3 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
Looks clean and obviously correct to me, but then _everything_ I
write always looks obviously correct to me.  - Linus Torvalds in
<Pine.LNX.4.10.10012090054360.791-100000 at penguin.transmeta.com>


More information about the U-Boot mailing list