GCC4,6: Squash warning in cmd_nand.c
authorMarek Vasut <marek.vasut@gmail.com>
Fri, 30 Sep 2011 10:13:23 +0000 (12:13 +0200)
committerWolfgang Denk <wd@denx.de>
Sat, 1 Oct 2011 21:33:52 +0000 (23:33 +0200)
commit9099ac3e7edc66debfc3f5367d082f1cb4fb2c78
tree0f6c6fb3a474648188877bc3e512a4a984eb6414
parent89131e90a2ed72e844753f02d079fc99bb859610
GCC4,6: Squash warning in cmd_nand.c

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@gmail.com>
Cc: Scott Wood <scottwood@freescale.com>
Acked-by: Mike Frysinger <vapier@gentoo.org>
common/cmd_nand.c