1
0
mirror of https://github.com/systemd/systemd.git synced 2025-03-31 14:50:15 +03:00

shared/conf-parser: add two more annotations

This commit is contained in:
Zbigniew Jędrzejewski-Szmek 2024-03-07 18:47:31 +01:00
parent 088ab88715
commit b7d62bdbd0

View File

@ -558,7 +558,7 @@ static int config_parse_many_files(
}
}
r = config_parse(NULL, *fn, f, sections, lookup, table, flags, userdata, &st);
r = config_parse(/* unit= */ NULL, *fn, f, sections, lookup, table, flags, userdata, &st);
if (r < 0)
return r;
assert(r > 0);
@ -577,7 +577,7 @@ static int config_parse_many_files(
const char *path_dropin;
FILE *f_dropin;
ORDERED_HASHMAP_FOREACH_KEY(f_dropin, path_dropin, dropins) {
r = config_parse(NULL, path_dropin, f_dropin, sections, lookup, table, flags, userdata, &st);
r = config_parse(/* unit= */ NULL, path_dropin, f_dropin, sections, lookup, table, flags, userdata, &st);
if (r < 0)
return r;
assert(r > 0);