]> git.sur5r.net Git - u-boot/commit
board/sandburst/common/flash.c: Fix GCC 4.6 build warning
authorWolfgang Denk <wd@denx.de>
Tue, 29 Nov 2011 22:17:50 +0000 (22:17 +0000)
committerWolfgang Denk <wd@denx.de>
Thu, 1 Dec 2011 23:12:18 +0000 (00:12 +0100)
commiteffa4e30b06e7c4c7d4535bcab8e40652262b13c
tree84b4ef91137258268431b53b933302d28e6eb509
parent774b35768571d5b061fc8287dc532c9ea96c443b
board/sandburst/common/flash.c: Fix GCC 4.6 build warning

Fix:
../common/flash.c: In function 'flash_erase':
../common/flash.c:307:24: warning: variable 'l_sect' set but not used
[-Wunused-but-set-variable]

Signed-off-by: Wolfgang Denk <wd@denx.de>
Cc: Travis Sawyer <travis.sawyer@sandburst.com>
Acked-by: Marek Vasut <marek.vasut@gmail.com>
board/sandburst/common/flash.c