[U-Boot] [PATCH 08/10] board/mx1ads/syncflash.c: Fix GCC 4.6 warnings

Heiko Schocher hs at denx.de
Wed Nov 23 08:23:11 CET 2011


Hello Anatolij,

Anatolij Gustschin wrote:
> Fix:
> syncflash.c: In function 'SF_SR':
> syncflash.c:60:10: warning: variable 'tmp1' set but not used
> [-Wunused-but-set-variable]
> syncflash.c: In function 'SF_PrechargeAll':
> syncflash.c:96:6: warning: variable 'tmp' set but not used
> [-Wunused-but-set-variable]
> mx1ads.c: In function 'board_early_init_f':
> mx1ads.c:83:24: warning: variable 'tmp' set but not used
> [-Wunused-but-set-variable]
> syncflash.c: In function 'SF_Erase':
> syncflash.c:112:6: warning: variable 'tmp' set but not used
> [-Wunused-but-set-variable]
> syncflash.c: In function 'flash_init':
> syncflash.c:155:6: warning: variable 'tmp' set but not used
> [-Wunused-but-set-variable]
> 
> Signed-off-by: Anatolij Gustschin <agust at denx.de>
> ---
>  board/mx1ads/syncflash.c |   20 +++++++++-----------
>  1 files changed, 9 insertions(+), 11 deletions(-)

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

Thanks!

bye,
Heiko
-- 
DENX Software Engineering GmbH,     MD: Wolfgang Denk & Detlev Zundel
HRB 165235 Munich, Office: Kirchenstr.5, D-82194 Groebenzell, Germany


More information about the U-Boot mailing list