diff options
author | Maria Matejka <mq@ucw.cz> | 2019-08-17 16:09:29 +0200 |
---|---|---|
committer | Maria Matejka <mq@ucw.cz> | 2020-05-01 15:19:12 +0200 |
commit | ea259d6201973eb0f764cbb2bb6549b6ac79b316 (patch) | |
tree | 74398582b360e5fba8a445106f6e51f87245b400 /lib/timer.c | |
parent | 0c3b8ffe25f43e59dfe8b1aeb219ff1cb4c6aa2b (diff) |
Timer: Adding missing initializer.
Diffstat (limited to 'lib/timer.c')
-rw-r--r-- | lib/timer.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/timer.c b/lib/timer.c index be695114..a5abbcc4 100644 --- a/lib/timer.c +++ b/lib/timer.c @@ -255,7 +255,7 @@ timer_init(void) btime tm_parse_time(const char *x) { - struct tm tm; + struct tm tm = {}; int usec, n1, n2, n3, r; r = sscanf(x, "%d-%d-%d%n %d:%d:%d%n.%d%n", |