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:
parent
9bba24c5a1
commit
ea34ee8576
@ -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