From 35e9d698cd2ca4bb15d9fab6eaeacd67b007971c Mon Sep 17 00:00:00 2001 From: Marek Vasut Date: Fri, 21 Oct 2011 14:17:25 +0000 Subject: [PATCH] GCC4.6: Squash undefined variable in cmd_mtdparts.c Signed-off-by: Marek Vasut Cc: Wolfgang Denk Cc: Simon Glass Cc: Mike Frysinger --- common/cmd_mtdparts.c | 2 -- 1 file changed, 2 deletions(-) diff --git a/common/cmd_mtdparts.c b/common/cmd_mtdparts.c index 2c2e4e0973..b7c833b149 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; -- 2.39.5