mirror of
https://github.com/AsahiLinux/u-boot
synced 2024-11-10 23:24:38 +00:00
RAMDISK: Fix unused variable issue caused by raw rd support
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>
This commit is contained in:
parent
017e1f3f9f
commit
57d40ab70b
1 changed files with 2 additions and 0 deletions
|
@ -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;
|
||||
|
|
Loading…
Reference in a new issue