summaryrefslogtreecommitdiff
path: root/src/shared/time-util.c
diff options
context:
space:
mode:
authorKay Sievers <kay@vrfy.org>2013-10-21 18:40:33 +0200
committerKay Sievers <kay@vrfy.org>2013-10-21 18:40:33 +0200
commit7759ecb21e2057eacf2dbd111d2f13ea10bff844 (patch)
tree0c17b4899eec0801ac9ed468d796f94c79ba33f5 /src/shared/time-util.c
parent03a170c03cd4a09721369ece48affb70d66c6b90 (diff)
silent a few more gcc warnings
Diffstat (limited to 'src/shared/time-util.c')
-rw-r--r--src/shared/time-util.c2
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;