diff options
author | Marek Vasut <marek.vasut@gmail.com> | 2011-10-21 18:17:25 +0400 |
---|---|---|
committer | Wolfgang Denk <wd@denx.de> | 2011-10-28 01:54:04 +0400 |
commit | 35e9d698cd2ca4bb15d9fab6eaeacd67b007971c (patch) | |
tree | 8476ce7ec8f501e636e784fa9357d6f960b0ee08 /common | |
parent | 4b210e8bcfd3c256edcb20ea850b58fe2b5921fe (diff) | |
download | u-boot-35e9d698cd2ca4bb15d9fab6eaeacd67b007971c.tar.xz |
GCC4.6: Squash undefined variable in cmd_mtdparts.c
Signed-off-by: Marek Vasut <marek.vasut@gmail.com>
Cc: Wolfgang Denk <wd@denx.de>
Cc: Simon Glass <sjg@chromium.org>
Cc: Mike Frysinger <vapier@gentoo.org>
Diffstat (limited to 'common')
-rw-r--r-- | 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 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; |