mirror of
https://xff.cz/git/u-boot/
synced 2025-09-04 18:22:02 +02: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:
@@ -28,7 +28,7 @@ static int do_time(cmd_tbl_t *cmdtp, int flag, int argc, char * const argv[])
|
|||||||
{
|
{
|
||||||
ulong cycles = 0;
|
ulong cycles = 0;
|
||||||
int retval = 0;
|
int retval = 0;
|
||||||
int repeatable;
|
int repeatable = 0;
|
||||||
|
|
||||||
if (argc == 1)
|
if (argc == 1)
|
||||||
return CMD_RET_USAGE;
|
return CMD_RET_USAGE;
|
||||||
|
Reference in New Issue
Block a user