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

Heiko Schocher heiko.schocher at invitel.hu
Wed Nov 23 08:33:17 CET 2011


Hello Anatolij,

Anatolij Gustschin wrote:
> Fix:
> flash.c: In function 'flash_erase':
> flash.c:223:6: warning: variable 'flag' set but not used
> [-Wunused-but-set-variable]
> flash.c: In function 'write_data':
> flash.c:392:6: warning: variable 'flag' set but not used
> [-Wunused-but-set-variable]
> 
> Signed-off-by: Anatolij Gustschin <agust at denx.de>
> ---
>  board/xaeniax/flash.c |    7 +++----
>  1 files changed, 3 insertions(+), 4 deletions(-)

Applied to u-boot-staging hs at denx.de

Thanks.

bye,
Heiko


More information about the U-Boot mailing list