core: make config_parse_documentation() explicitly return 0 on success

This commit is contained in:
Yu Watanabe
2021-01-18 01:27:14 +09:00
parent 16eb0c4ad0
commit 8c6493e59e
+12 -11
View File
@@ -3096,16 +3096,17 @@ int config_parse_unit_requires_mounts_for(
}
}
int config_parse_documentation(const char *unit,
const char *filename,
unsigned line,
const char *section,
unsigned section_line,
const char *lvalue,
int ltype,
const char *rvalue,
void *data,
void *userdata) {
int config_parse_documentation(
const char *unit,
const char *filename,
unsigned line,
const char *section,
unsigned section_line,
const char *lvalue,
int ltype,
const char *rvalue,
void *data,
void *userdata) {
Unit *u = userdata;
int r;
@@ -3139,7 +3140,7 @@ int config_parse_documentation(const char *unit,
if (b)
*b = NULL;
return r;
return 0;
}
#if HAVE_SECCOMP