From 7ab373fbbde0a149514823081dceabf881a2ba74 Mon Sep 17 00:00:00 2001 From: ridiculousfish Date: Tue, 17 Dec 2019 19:22:43 -0800 Subject: [PATCH] Fix some gcc warnings --- src/exec.cpp | 1 + 1 file changed, 1 insertion(+) diff --git a/src/exec.cpp b/src/exec.cpp index c872b9226..c2356dd1b 100644 --- a/src/exec.cpp +++ b/src/exec.cpp @@ -762,6 +762,7 @@ static proc_performer_t get_performer_for_process(process_t *p, const job_t *job // TODO: we should reflect the actual signal which was received. return proc_status_t::from_signal(SIGINT); case eval_result_t::control_flow: + default: DIE("eval_result_t::control_flow should not be returned from eval_node"); } };