mirror of
https://github.com/AsahiLinux/u-boot
synced 2024-11-28 15:41:40 +00:00
cmd/time.c: Initialize 'repeatable' variable
We cannot leave this uninitialized, set it to 0. Reported-by: Coverity (CID: 144426) Signed-off-by: Tom Rini <trini@konsulko.com>
This commit is contained in:
parent
48ee0a87bc
commit
146dda3911
1 changed files with 1 additions and 1 deletions
|
@ -28,7 +28,7 @@ static int do_time(cmd_tbl_t *cmdtp, int flag, int argc, char * const argv[])
|
|||
{
|
||||
ulong cycles = 0;
|
||||
int retval = 0;
|
||||
int repeatable;
|
||||
int repeatable = 0;
|
||||
|
||||
if (argc == 1)
|
||||
return CMD_RET_USAGE;
|
||||
|
|
Loading…
Reference in a new issue