mirror of
https://github.com/systemd/systemd.git
synced 2024-11-06 16:59:03 +03:00
conf-parser: add a bit more whitespace
We usually seperate case statements within a switch from each other by empty lines. We also often add an empty line after multi-line function prototypes, let's do so here too Also, no trailing ; after }...
This commit is contained in:
parent
313b78569e
commit
7ef7e15bd7
@ -839,22 +839,26 @@ int config_parse_warn_compat(
|
||||
const char *rvalue,
|
||||
void *data,
|
||||
void *userdata) {
|
||||
|
||||
Disabled reason = ltype;
|
||||
|
||||
switch(reason) {
|
||||
|
||||
case DISABLED_CONFIGURATION:
|
||||
log_syntax(unit, LOG_DEBUG, filename, line, 0,
|
||||
"Support for option %s= has been disabled at compile time and it is ignored", lvalue);
|
||||
break;
|
||||
|
||||
case DISABLED_LEGACY:
|
||||
log_syntax(unit, LOG_INFO, filename, line, 0,
|
||||
"Support for option %s= has been removed and it is ignored", lvalue);
|
||||
break;
|
||||
|
||||
case DISABLED_EXPERIMENTAL:
|
||||
log_syntax(unit, LOG_INFO, filename, line, 0,
|
||||
"Support for option %s= has not yet been enabled and it is ignored", lvalue);
|
||||
break;
|
||||
};
|
||||
}
|
||||
|
||||
return 0;
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user