[U-Boot] [PATCH 30/39] GCC4.6: Squash undefined variable in cmd_mtdparts.c

Marek Vasut marek.vasut at gmail.com
Sat Oct 22 02:17:25 CEST 2011


Signed-off-by: Marek Vasut <marek.vasut at gmail.com>
Cc: Wolfgang Denk <wd at denx.de>
Cc: Simon Glass <sjg at chromium.org>
Cc: Mike Frysinger <vapier at gentoo.org>
---
 common/cmd_mtdparts.c |    2 --
 1 files changed, 0 insertions(+), 2 deletions(-)

diff --git a/common/cmd_mtdparts.c b/common/cmd_mtdparts.c
index 2c2e4e0..b7c833b 100644
--- a/common/cmd_mtdparts.c
+++ b/common/cmd_mtdparts.c
@@ -839,9 +839,7 @@ static int device_parse(const char *const mtd_dev, const char **ret, struct mtd_
 	const char *mtd_id;
 	unsigned int mtd_id_len;
 	const char *p;
-#ifdef DEBUG
 	const char *pend;
-#endif
 	LIST_HEAD(tmp_list);
 	struct list_head *entry, *n;
 	u16 num_parts;
-- 
1.7.6.3



More information about the U-Boot mailing list