[U-Boot] [PATCH 1/5] GCC4.6: Squash warning in nand_bbt.c

Wolfgang Denk wd at denx.de
Sat Oct 1 23:28:50 CEST 2011


Dear Marek Vasut,

In message <1317377606-9830-1-git-send-email-marek.vasut at gmail.com> you wrote:
> nand_bbt.c: In function `search_bbt´:
> nand_bbt.c:465:6: warning: variable `bits´ 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>
> ---
>  drivers/mtd/nand/nand_bbt.c |    5 +----
>  1 files changed, 1 insertions(+), 4 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
When a program is being  tested,  it  is  too  late  to  make  design
changes.                  -- Geoffrey James, "The Tao of Programming"


More information about the U-Boot mailing list