Simplify, remove gratuitous 'return;' at end of functions + cleanup

- Add empty lines for readability, after return before new statement and
  after variable declarations
- Remove explicit typecasting, NULL is NULL regardless of type
- Remove unnecessary braces and else

Signed-off-by: Joachim Nilsson <troglobit@gmail.com>
This commit is contained in:
Joachim Nilsson
2019-10-24 10:46:02 +02:00
parent 773ee73214
commit 27027456b5
4 changed files with 12 additions and 17 deletions

View File

@ -776,7 +776,6 @@ char *ExpandKadds(char *line, char *el)
void SetParanoiaLevel(int level)
{
i_am_paranoid = level;
return;
}
/*
@ -821,8 +820,6 @@ void Syslog(int priority, char *fmt, ...)
vfprintf(stdout, fmt, ap);
va_end(ap);
fputc('\n', stdout);
return;
}
#endif