Re: [U-Boot] [PATCH 05/12] board/cm41xx/flash.c: Fix GCC 4.6 warnings

2011-11-16 Thread Wolfgang Denk
Dear Anatolij Gustschin, In message <1321399263-13826-6-git-send-email-ag...@denx.de> you wrote: > Fix: > flash.c: In function 'flash_erase': > flash.c:209:6: warning: variable 'flag' set but not used > [-Wunused-but-set-variable] > flash.c: In function 'write_data': > flash.c:373:6: warning: vari

[U-Boot] [PATCH 05/12] board/cm41xx/flash.c: Fix GCC 4.6 warnings

2011-11-15 Thread Anatolij Gustschin
Fix: flash.c: In function 'flash_erase': flash.c:209:6: warning: variable 'flag' set but not used [-Wunused-but-set-variable] flash.c: In function 'write_data': flash.c:373:6: warning: variable 'flag' set but not used [-Wunused-but-set-variable] Signed-off-by: Anatolij Gustschin --- board/cm41xx