From 781f7efbacaf1cef5efb1e09f53474797b243b6b Mon Sep 17 00:00:00 2001 From: Jes Sorensen Date: Thu, 11 Aug 2016 15:53:29 -0400 Subject: [PATCH] lib: Avoid if and return on the same line Signed-off-by: Jes Sorensen --- lib.c | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/lib.c b/lib.c index 3ee7659b..6f120b9b 100644 --- a/lib.c +++ b/lib.c @@ -226,7 +226,7 @@ char *map_dev_preferred(int major, int minor, int create, int did_check = 0; if (major == 0 && minor == 0) - return NULL; + return NULL; retry: if (!devlist_ready) { @@ -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); -- 2.39.5