]> git.tuebingen.mpg.de Git - paraslash.git/commitdiff
gui.c: Remove pointless return statement.
authorAndre Noll <maan@tuebingen.mpg.de>
Fri, 18 Mar 2016 21:40:59 +0000 (22:40 +0100)
committerAndre Noll <maan@tuebingen.mpg.de>
Fri, 18 Mar 2016 21:40:59 +0000 (22:40 +0100)
In signal_post_select() we call die() on SIGTERM which never returns.

gui.c

diff --git a/gui.c b/gui.c
index dd7ffeb40b9fbaa6cc41350c1b0eb41a2317d0c1..8d44fb44b36979008604bed66d58a68f55674260 100644 (file)
--- a/gui.c
+++ b/gui.c
@@ -935,7 +935,6 @@ static int signal_post_select(struct sched *s, __a_unused void *context)
        switch (ret) {
        case SIGTERM:
                die(EXIT_FAILURE, "only the good die young (caught SIGTERM)\n");
-               return 1;
        case SIGINT:
                return 1;
        case SIGUSR1: