]> git.sur5r.net Git - u-boot/commit
board/amcc/yucca/flash.c: Fix GCC 4.6 build warnings
authorWolfgang Denk <wd@denx.de>
Thu, 17 Nov 2011 09:50:00 +0000 (09:50 +0000)
committerWolfgang Denk <wd@denx.de>
Mon, 5 Dec 2011 22:17:47 +0000 (23:17 +0100)
commit2975fe14d90b28d4bed894e783a827748c0e5a4b
treef7e6ae59a7c65eac14f748c1e3d971bf7793913e
parent9879d57203024570c388a2849ad5fe9be4d624eb
board/amcc/yucca/flash.c: Fix GCC 4.6 build warnings

Fix:
flash.c: In function 'flash_erase_1':
flash.c:425:24: warning: variable 'l_sect' set but not used
[-Wunused-but-set-variable]
flash.c: In function 'flash_erase_2':
flash.c:834:24: warning: variable 'l_sect' set but not used
[-Wunused-but-set-variable]

Signed-off-by: Wolfgang Denk <wd@denx.de>
Cc: Stefan Roese <sr@denx.de>
Acked-by: Stefan Roese <sr@denx.de>
board/amcc/yucca/flash.c