Re: [U-Boot] [PATCH 56/56] board/alaska/flash.c: Fix GCC 4.6 build warnings

2011-11-07 Thread Wolfgang Denk
Dear Wolfgang Denk, In message <1320458160-23136-57-git-send-email...@denx.de> you wrote: > 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-bu

[U-Boot] [PATCH 56/56] board/alaska/flash.c: Fix GCC 4.6 build warnings

2011-11-04 Thread Wolfgang Denk
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