diff options
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", |