From: Marek Vasut <marex@denx.de>
To: u-boot@lists.denx.de
Subject: [U-Boot] [PATCH] RAMDISK: Fix unused variable issue caused by raw rd support
Date: Fri, 30 Mar 2012 23:19:10 +0200 [thread overview]
Message-ID: <1333142350-27117-1-git-send-email-marex@denx.de> (raw)
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 | 2 ++
1 files changed, 2 insertions(+), 0 deletions(-)
diff --git a/common/image.c b/common/image.c
index 103e0e6..342b315 100644
--- 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;
--
1.7.9.1
next reply other threads:[~2012-03-30 21:19 UTC|newest]
Thread overview: 4+ messages / expand[flat|nested] mbox.gz Atom feed top
2012-03-30 21:19 Marek Vasut [this message]
2012-03-30 21:53 ` [U-Boot] [PATCH] RAMDISK: Fix unused variable issue caused by raw rd support Wolfgang Denk
2012-03-30 21:22 Marek Vasut
2012-03-30 21:49 ` Wolfgang Denk
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=1333142350-27117-1-git-send-email-marex@denx.de \
--to=marex@denx.de \
--cc=u-boot@lists.denx.de \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.