0
0
mirror of https://gitlab.nic.cz/labs/bird.git synced 2024-12-23 02:01:55 +00:00

Timer: Adding missing initializer.

This commit is contained in:
Maria Matejka 2019-08-17 16:09:29 +02:00
parent 9bba24c5a1
commit ea34ee8576

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