Timer: Adding missing initializer.

This commit is contained in:
Maria Matejka 2019-08-17 16:09:29 +02:00
parent 0c3b8ffe25
commit ea259d6201

View file

@ -255,7 +255,7 @@ timer_init(void)
btime btime
tm_parse_time(const char *x) tm_parse_time(const char *x)
{ {
struct tm tm; struct tm tm = {};
int usec, n1, n2, n3, r; int usec, n1, n2, n3, r;
r = sscanf(x, "%d-%d-%d%n %d:%d:%d%n.%d%n", r = sscanf(x, "%d-%d-%d%n %d:%d:%d%n.%d%n",