Skip to content
Snippets Groups Projects
Commit 146dda39 authored by Tom Rini's avatar Tom Rini
Browse files

cmd/time.c: Initialize 'repeatable' variable


We cannot leave this uninitialized, set it to 0.

Reported-by: Coverity (CID: 144426)
Signed-off-by: default avatarTom Rini <trini@konsulko.com>
parent 48ee0a87
No related branches found
No related tags found
No related merge requests found
......@@ -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;
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment