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>
This commit is contained in:

committed by
Wolfgang Denk

parent
4b210e8bcf
commit
35e9d698cd
@@ -839,9 +839,7 @@ static int device_parse(const char *const mtd_dev, const char **ret, struct mtd_
|
|||||||
const char *mtd_id;
|
const char *mtd_id;
|
||||||
unsigned int mtd_id_len;
|
unsigned int mtd_id_len;
|
||||||
const char *p;
|
const char *p;
|
||||||
#ifdef DEBUG
|
|
||||||
const char *pend;
|
const char *pend;
|
||||||
#endif
|
|
||||||
LIST_HEAD(tmp_list);
|
LIST_HEAD(tmp_list);
|
||||||
struct list_head *entry, *n;
|
struct list_head *entry, *n;
|
||||||
u16 num_parts;
|
u16 num_parts;
|
||||||
|
Reference in New Issue
Block a user