From 57d58ae04d65c414a7449628a5aac3a67df45f7b Mon Sep 17 00:00:00 2001 From: Andre Noll Date: Fri, 18 Mar 2016 22:40:59 +0100 Subject: [PATCH] gui.c: Remove pointless return statement. In signal_post_select() we call die() on SIGTERM which never returns. --- gui.c | 1 - 1 file changed, 1 deletion(-) diff --git a/gui.c b/gui.c index dd7ffeb4..8d44fb44 100644 --- 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: -- 2.39.2