diff options
author | Zbigniew Jędrzejewski-Szmek <zbyszek@in.waw.pl> | 2021-03-31 17:24:26 +0200 |
---|---|---|
committer | Zbigniew Jędrzejewski-Szmek <zbyszek@in.waw.pl> | 2021-03-31 18:24:53 +0200 |
commit | 9fd8d678ba41ad39348758d5d329fe8d4451813f (patch) | |
tree | 20705172c5c4eede14dfbf7375e0d42494fb33c6 /src/shared/conf-parser.c | |
parent | 0a94e77ed4cf5480f2ea0aac373392a9bb48571d (diff) | |
download | systemd-9fd8d678ba41ad39348758d5d329fe8d4451813f.tar.gz |
shared/conf-parser: fix unitialized variable
Introduced in 4f9ff96a55187927a4164a19df580329f4c6522b.
Diffstat (limited to 'src/shared/conf-parser.c')
-rw-r--r-- | src/shared/conf-parser.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/src/shared/conf-parser.c b/src/shared/conf-parser.c index 9dfa190751..fa4079cff7 100644 --- a/src/shared/conf-parser.c +++ b/src/shared/conf-parser.c @@ -300,7 +300,8 @@ int config_parse( (void) stat_warn_permissions(filename, &st); mtime = timespec_load(&st.st_mtim); - } + } else + mtime = 0; for (;;) { _cleanup_free_ char *buf = NULL; |