projects
/
platform
/
kernel
/
u-boot.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
4b210e8
)
GCC4.6: Squash undefined variable in cmd_mtdparts.c
author
Marek Vasut
<marek.vasut@gmail.com>
Fri, 21 Oct 2011 14:17:25 +0000
(14:17 +0000)
committer
Wolfgang Denk
<wd@denx.de>
Thu, 27 Oct 2011 21:54:04 +0000
(23:54 +0200)
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>
common/cmd_mtdparts.c
patch
|
blob
|
history
diff --git
a/common/cmd_mtdparts.c
b/common/cmd_mtdparts.c
index
2c2e4e0
..
b7c833b
100644
(file)
--- 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;