mirror of
https://git.codelinaro.org/clo/qsdk/oss/boot/u-boot-2016.git
synced 2026-02-16 04:49:11 +01:00
x86: Fix warning in cmd_ximg.c when CONFIG_GZIP is not defined
This local variable is not used unless CONFIG_GZIP is defined. Fix it. Signed-off-by: Simon Glass <sjg@chromium.org>
This commit is contained in:
parent
fb7db41cd4
commit
a92181b399
1 changed files with 2 additions and 0 deletions
|
|
@ -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");
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue