Re: [U-Boot] [PATCH 9/9] ARM: xm250: Fix GCC 4.6 warnings

2011-11-21 Thread Marek Vasut
> Fix: > flash.c: In function 'flash_erase': > flash.c:252:6: warning: variable 'flag' set but not used > [-Wunused-but-set-variable] > flash.c: In function 'write_data': > flash.c:421:6: warning: variable 'flag' set but not used > [-Wunused-but-set-variable] > > Signed-off-by: Anatolij Gustschin

Re: [U-Boot] [PATCH 9/9] ARM: xm250: Fix GCC 4.6 warnings

2011-11-19 Thread Simon Glass
On Sat, Nov 19, 2011 at 3:59 AM, Anatolij Gustschin wrote: > Fix: > flash.c: In function 'flash_erase': > flash.c:252:6: warning: variable 'flag' set but not used > [-Wunused-but-set-variable] > flash.c: In function 'write_data': > flash.c:421:6: warning: variable 'flag' set but not used > [-Wunus

[U-Boot] [PATCH 9/9] ARM: xm250: Fix GCC 4.6 warnings

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