mirror of
https://gitlab.nic.cz/labs/bird.git
synced 2024-11-17 16:48:43 +00:00
Timer: Adding missing initializer.
This commit is contained in:
parent
0c3b8ffe25
commit
ea259d6201
@ -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",
|
||||||
|
Loading…
Reference in New Issue
Block a user