From: Ralph Corderoy Date: Thu, 20 Oct 2016 22:29:46 +0000 (+0100) Subject: Don't `else' after return. Simplify control flow. X-Git-Url: https://diplodocus.org/git/nmh/commitdiff_plain/48fe8b4114532c04fc200d91fdc3f5315d47c97f?ds=inline Don't `else' after return. Simplify control flow. --- diff --git a/uip/rcvtty.c b/uip/rcvtty.c index d32a1baa..291cb69c 100644 --- a/uip/rcvtty.c +++ b/uip/rcvtty.c @@ -198,7 +198,8 @@ message_fd (char **vec) /* fork error */ close (fd); return header_fd (); - } else if (child_id) { + } + if (child_id) { /* parent process */ if (!setjmp (myctx)) { SIGNAL (SIGALRM, alrmser);