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
@ -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 New Issue
Block a user