projects
/
oweals
/
u-boot.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
fb7db41
)
x86: Fix warning in cmd_ximg.c when CONFIG_GZIP is not defined
author
Simon Glass
<sjg@chromium.org>
Wed, 17 Apr 2013 16:13:45 +0000
(16:13 +0000)
committer
Simon Glass
<sjg@chromium.org>
Mon, 13 May 2013 20:33:22 +0000
(13:33 -0700)
This local variable is not used unless CONFIG_GZIP is defined. Fix it.
Signed-off-by: Simon Glass <sjg@chromium.org>
common/cmd_ximg.c
patch
|
blob
|
history
diff --git
a/common/cmd_ximg.c
b/common/cmd_ximg.c
index ea0a26e7845c39091646d702a4808e3bbabb501e..02084b0204008b57f0ba2b96664a1a281f159c41 100644
(file)
--- a/
common/cmd_ximg.c
+++ b/
common/cmd_ximg.c
@@
-58,7
+58,9
@@
do_imgextract(cmd_tbl_t * cmdtp, int flag, int argc, char * const argv[])
const void *fit_data;
size_t fit_len;
#endif
+#ifdef CONFIG_GZIP
uint unc_len = CONFIG_SYS_XIMG_LEN;
+#endif
uint8_t comp;
verify = getenv_yesno("verify");