projects
/
project
/
bcm63xx
/
u-boot.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
017e1f3
)
RAMDISK: Fix unused variable issue caused by raw rd support
author
Marek Vasut
<marex@denx.de>
Fri, 30 Mar 2012 21:19:10 +0000
(23:19 +0200)
committer
Wolfgang Denk
<wd@denx.de>
Fri, 30 Mar 2012 21:52:35 +0000
(23:52 +0200)
image.c: In function ‘boot_get_ramdisk’:
image.c:800:8: warning: unused variable ‘end’ [-Wunused-variable]
Signed-off-by: Marek Vasut <marex@denx.de>
Cc: Wolfgang Denk <wd@denx.de>
common/image.c
patch
|
blob
|
history
diff --git
a/common/image.c
b/common/image.c
index 103e0e6e757bf47553c4fed357bf037072b63fa6..342b31591818e9549ea9a53d0b1059cfa2587c8b 100644
(file)
--- a/
common/image.c
+++ b/
common/image.c
@@
-797,7
+797,9
@@
int boot_get_ramdisk(int argc, char * const argv[], bootm_headers_t *images,
ulong rd_addr, rd_load;
ulong rd_data, rd_len;
const image_header_t *rd_hdr;
+#ifdef CONFIG_SUPPORT_RAW_INITRD
char *end;
+#endif
#if defined(CONFIG_FIT)
void *fit_hdr;
const char *fit_uname_config = NULL;