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

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


Dear Stefan Roese,

In message <1321380174-6687-1-git-send-email-sr at denx.de> you wrote:
> Fix:
> nand_boot.c: In function 'nand_read_page':
> nand_boot.c:190:6: warning: variable 'stat' set but not used [-Wunused-but-set-variable]
> nand_boot.c: In function 'nand_boot':
> nand_boot.c:271:6: warning: variable 'ret' set but not used [-Wunused-but-set-variable]
> 
> Signed-off-by: Stefan Roese <sr at denx.de>
> ---
>  nand_spl/nand_boot.c |    8 +++-----
>  1 files changed, 3 insertions(+), 5 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
Cogito cogito ergo cogito sum - "I think that I  think,  therefore  I
think that I am."          - Ambrose Bierce, "The Devil's Dictionary"


More information about the U-Boot mailing list