]> git.dujemihanovic.xyz Git - u-boot.git/commit
board/amcc/common/flash.c: Fix GCC 4.6 build warning
authorWolfgang Denk <wd@denx.de>
Thu, 17 Nov 2011 09:49:59 +0000 (09:49 +0000)
committerWolfgang Denk <wd@denx.de>
Mon, 5 Dec 2011 22:17:41 +0000 (23:17 +0100)
commit9879d57203024570c388a2849ad5fe9be4d624eb
treefd148c4a38a781c488858c4139f354cfec17a435
parent014e46782b6f986766cdaea99b954ae877be4ea5
board/amcc/common/flash.c: Fix GCC 4.6 build warning

Fix:
In file included from flash.c:45:0:
../common/flash.c: In function 'flash_erase':
../common/flash.c:399: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/common/flash.c