[U-Boot] [PATCH 2/5] GCC4,6: Squash warning in cmd_nand.c

Marek Vasut marek.vasut at gmail.com
Fri Sep 30 12:14:45 CEST 2011


On Friday, September 30, 2011 12:13:23 PM Marek Vasut wrote:
> cmd_nand.c: In function ‘do_nand’:
> cmd_nand.c:490:7: warning: variable ‘chip’ set but not used
> [-Wunused-but-set-variable]
> cmd_nand.c:489:7: warning: variable ‘part’ set but not used
> [-Wunused-but-set-variable]
> 
> Signed-off-by: Marek Vasut <marek.vasut at gmail.com>
> Cc: Scott Wood <scottwood at freescale.com>
> ---
>  common/cmd_nand.c |    4 ----
>  1 files changed, 0 insertions(+), 4 deletions(-)
> 

This even looks like .part and .chip has no effect at all ... am I right ?


More information about the U-Boot mailing list