From f58960ba011391ef15dca469c7e6b6313dd6a52a Mon Sep 17 00:00:00 2001 From: ridiculousfish Date: Sat, 29 Jun 2019 11:40:52 -0700 Subject: [PATCH] Add a DIE("unreachable") in should_claim_process_group_for_job Fixes a gcc warning. --- src/exec.cpp | 1 + 1 file changed, 1 insertion(+) diff --git a/src/exec.cpp b/src/exec.cpp index 01c926ad9..7e51b7ad1 100644 --- a/src/exec.cpp +++ b/src/exec.cpp @@ -1038,6 +1038,7 @@ static bool should_claim_process_group_for_job(const shared_ptr &j) { // exec will retain the pgroup. return false; } + DIE("unreachable"); } bool exec_job(parser_t &parser, shared_ptr j) {