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,
|
const char *rvalue,
|
||||||
void *data,
|
void *data,
|
||||||
void *userdata) {
|
void *userdata) {
|
||||||
|
|
||||||
Disabled reason = ltype;
|
Disabled reason = ltype;
|
||||||
|
|
||||||
switch(reason) {
|
switch(reason) {
|
||||||
|
|
||||||
case DISABLED_CONFIGURATION:
|
case DISABLED_CONFIGURATION:
|
||||||
log_syntax(unit, LOG_DEBUG, filename, line, 0,
|
log_syntax(unit, LOG_DEBUG, filename, line, 0,
|
||||||
"Support for option %s= has been disabled at compile time and it is ignored", lvalue);
|
"Support for option %s= has been disabled at compile time and it is ignored", lvalue);
|
||||||
break;
|
break;
|
||||||
|
|
||||||
case DISABLED_LEGACY:
|
case DISABLED_LEGACY:
|
||||||
log_syntax(unit, LOG_INFO, filename, line, 0,
|
log_syntax(unit, LOG_INFO, filename, line, 0,
|
||||||
"Support for option %s= has been removed and it is ignored", lvalue);
|
"Support for option %s= has been removed and it is ignored", lvalue);
|
||||||
break;
|
break;
|
||||||
|
|
||||||
case DISABLED_EXPERIMENTAL:
|
case DISABLED_EXPERIMENTAL:
|
||||||
log_syntax(unit, LOG_INFO, filename, line, 0,
|
log_syntax(unit, LOG_INFO, filename, line, 0,
|
||||||
"Support for option %s= has not yet been enabled and it is ignored", lvalue);
|
"Support for option %s= has not yet been enabled and it is ignored", lvalue);
|
||||||
break;
|
break;
|
||||||
};
|
}
|
||||||
|
|
||||||
return 0;
|
return 0;
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue