lib: Avoid if and return on the same line

Signed-off-by: Jes Sorensen <Jes.Sorensen@redhat.com>
This commit is contained in:
Jes Sorensen 2016-08-11 15:53:29 -04:00
parent 36138e4e4b
commit 781f7efbac
1 changed files with 3 additions and 2 deletions

3
lib.c
View File

@ -464,7 +464,8 @@ char *conf_line(FILE *file)
char *list;
w = conf_word(file, 1);
if (w == NULL) return NULL;
if (w == NULL)
return NULL;
list = dl_strdup(w);
free(w);