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:
@ -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
|
||||
|
||||
|
Reference in New Issue
Block a user