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