]> git.sur5r.net Git - u-boot/commit
board/alaska/flash.c: Fix GCC 4.6 build warnings
authorWolfgang Denk <wd@denx.de>
Fri, 4 Nov 2011 15:56:00 +0000 (15:56 +0000)
committerWolfgang Denk <wd@denx.de>
Mon, 7 Nov 2011 21:16:59 +0000 (22:16 +0100)
commit23bda7d43faed8b019adf122bc67c7a8e40f1580
tree2f678094d63dc5b8b7a7265cc7e8663e98700afd
parent8a33201d0c48c7b05a7b2ee978d3a56d1b2d81a7
board/alaska/flash.c: Fix GCC 4.6 build warnings

Fix:
flash.c: In function 'flash_erase':
flash.c:409:21: warning: variable 'last' set but not used
[-Wunused-but-set-variable]
flash.c:408:6: warning: variable 'flag' set but not used
[-Wunused-but-set-variable]
flash.c: In function 'write_data':
flash.c:669:6: warning: variable 'flag' set but not used
[-Wunused-but-set-variable]
flash.c: In function 'write_data_block':
flash.c:709:6: warning: variable 'flag' set but not used
[-Wunused-but-set-variable]

Signed-off-by: Wolfgang Denk <wd@denx.de>
board/alaska/flash.c