X-Git-Url: https://diplodocus.org/git/nmh/blobdiff_plain/1d08c1e0c0de0d321883ece1c36bce851fe893c7..9322ba2854211794c27fae9468768b80b767c211:/config/config.c diff --git a/config/config.c b/config/config.c index e1c4e5b8..81c3683f 100644 --- a/config/config.c +++ b/config/config.c @@ -63,7 +63,8 @@ etcpath (char *file) *--cp = '/'; if (access (epath, R_OK) != NOTOK) - return epath; /* else fall */ + return epath; + /* FALLTHRU */ try_it: default: @@ -72,9 +73,8 @@ try_it: /* Will leak because caller doesn't know cp was dynamically allocated. */ return cp; - } else { - free (cp); } + free (cp); } /* Check nmh `etc' directory */