filter: reduce indentation in filter_init by 16 characters by using return.

Michael
This commit is contained in:
Michael Adam 2009-09-15 01:13:11 +02:00
parent 9594b8889e
commit 93b00446b9

View File

@ -54,9 +54,15 @@ void filter_init (void)
char *s;
int cflags;
if (!fl && !already_init) {
if (fl || already_init) {
return;
}
fd = fopen (config.filter, "r");
if (fd) {
if (!fd) {
return;
}
p = NULL;
cflags = REG_NEWLINE | REG_NOSUB;
@ -131,8 +137,6 @@ void filter_init (void)
already_init = 1;
}
}
}
/* unlink the list */
void filter_destroy (void)