[U-Boot] [PATCH 17/19] auto_update.c: Fix GCC 4.6 build warnings

Wolfgang Denk wd at denx.de
Wed Nov 16 21:17:42 CET 2011


Dear Stefan Roese,

In message <1321380213-6938-1-git-send-email-sr at denx.de> you wrote:
> Fix:
> ../common/auto_update.c: In function 'au_check_header_valid':
> ../common/auto_update.c:94:16: warning: variable 'checksum' set but not used [-Wunused-but-set-variable]
> ../common/auto_update.c: In function 'do_auto_update':
> ../common/auto_update.c:400:30: warning: variable 'got_ctrlc' set but not used [-Wunused-but-set-variable]
> 
> Signed-off-by: Stefan Roese <sr at denx.de>
> ---
>  board/esd/common/auto_update.c |    8 +-------
>  1 files changed, 1 insertions(+), 7 deletions(-)

Applied, thanks.

Best regards,

Wolfgang Denk

-- 
DENX Software Engineering GmbH,     MD: Wolfgang Denk & Detlev Zundel
HRB 165235 Munich, Office: Kirchenstr.5, D-82194 Groebenzell, Germany
Phone: (+49)-8142-66989-10 Fax: (+49)-8142-66989-80 Email: wd at denx.de
Never underestimate the power of human stupidity  when  it  comes  to
using technology they don't understand.


More information about the U-Boot mailing list