mirror of
https://git.codelinaro.org/clo/qsdk/oss/boot/u-boot-2016.git
synced 2026-03-01 17:36:03 +01:00
uboot: Fix compiler warnings in u-boot-2016
This change will fix the following warnings. 1.-Wmaybe-uninitialized Change-Id: I353962197b9160e7d15d6cb48b67982e42120df2 Signed-off-by: sameeruddin shaik <samesh@codeaurora.org>
This commit is contained in:
parent
e0b4311d3b
commit
f0822eadeb
1 changed files with 2 additions and 1 deletions
|
|
@ -121,7 +121,8 @@ static int do_flash(cmd_tbl_t *cmdtp, int flag, int argc,
|
|||
char * const argv[])
|
||||
{
|
||||
int flash_cmd = 0;
|
||||
uint32_t load_addr, offset, part_size, file_size, adj_size;
|
||||
uint32_t offset, part_size, file_size, adj_size;
|
||||
uint32_t load_addr = 0;
|
||||
uint32_t size_block, start_block, file_size_cpy;
|
||||
char *part_name = NULL, *filesize, *loadaddr;
|
||||
int flash_type, ret, retn;
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue