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 dd7ffeb..8d44fb4 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: