Timer: Adding missing initializer.
This commit is contained in:
parent
0c3b8ffe25
commit
ea259d6201
1 changed files with 1 additions and 1 deletions
|
@ -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 a new issue