From: Marek Vasut Date: Fri, 21 Oct 2011 14:17:25 +0000 (+0000) Subject: GCC4.6: Squash undefined variable in cmd_mtdparts.c X-Git-Tag: v2011.12-rc1~373 X-Git-Url: https://git.sur5r.net/?a=commitdiff_plain;h=35e9d698cd2ca4bb15d9fab6eaeacd67b007971c;p=u-boot GCC4.6: Squash undefined variable in cmd_mtdparts.c Signed-off-by: Marek Vasut Cc: Wolfgang Denk Cc: Simon Glass Cc: Mike Frysinger --- 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;