diff options
Diffstat (limited to 'src/shared')
-rw-r--r-- | src/shared/time-util.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/shared/time-util.c b/src/shared/time-util.c index 4b4cd7a270..7bb7d4ec5a 100644 --- a/src/shared/time-util.c +++ b/src/shared/time-util.c @@ -283,7 +283,7 @@ char *format_timespan(char *buf, size_t l, usec_t t, usec_t accuracy) { /* The result of this function can be parsed with parse_sec */ for (i = 0; i < ELEMENTSOF(table); i++) { - int k; + int k = 0; size_t n; bool done = false; usec_t a, b; |