From b39cbe9b04a8591ae1b538a640903f0179ffd59d Mon Sep 17 00:00:00 2001 From: Francois Kritzinger Date: Tue, 7 May 2024 10:44:19 +0200 Subject: Fixes --- mod/mod-ci-github-gh.cxx | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'mod') diff --git a/mod/mod-ci-github-gh.cxx b/mod/mod-ci-github-gh.cxx index c97f938..ad986e3 100644 --- a/mod/mod-ci-github-gh.cxx +++ b/mod/mod-ci-github-gh.cxx @@ -21,6 +21,8 @@ namespace brep case build_state::building: return "IN_PROGRESS"; case build_state::built: return "COMPLETED"; } + + assert (false); } // Return the build_state corresponding to a GitHub check run status @@ -60,6 +62,8 @@ namespace brep throw invalid_argument ("unexpected result_status value: " + to_string (rs)); } + + assert (false); } string -- cgit v1.1