[U-Boot] [PATCH 01/14] alpr board: Fix GCC 4.6 build warnings

Wolfgang Denk wd at denx.de
Fri Dec 2 00:09:32 CET 2011


Dear Wolfgang Denk,

In message <1322641077-829-2-git-send-email-wd at denx.de> you wrote:
> Fix:
> fpga.c: In function 'fpga_pre_fn':
> fpga.c:88:16: warning: variable 'reg' set but not used
> [-Wunused-but-set-variable]
> nand.c: In function 'alpr_nand_dev_ready':
> nand.c:125:18: warning: variable 'val' set but not used
> [-Wunused-but-set-variable]
> 
> Signed-off-by: Wolfgang Denk <wd at denx.de>
> Cc: Stefan Roese <sr at denx.de>
> ---
> total: 0 errors, 0 warnings, 22 lines checked
> NOTE: Ignored message types: COMPLEX_MACRO CONSIDER_KSTRTO MINMAX MULTISTATEMENT_MACRO_USE_DO_WHILE
> 
>  board/prodrive/alpr/fpga.c |    3 ---
>  board/prodrive/alpr/nand.c |    4 +---
>  2 files changed, 1 insertions(+), 6 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
You can observe a lot just by watchin'.                  - Yogi Berra


More information about the U-Boot mailing list