commit 20b2772a9a35717e34fb9df399c7f5a31905ff90
parent a8b13764633d3bdcb6bae74ebfae66398710dffb
Author: Sebastian <sebastian@sebsite.pw>
Date: Mon, 8 May 2023 17:39:29 -0400
unix::signal: add abort for unreachable switch case in signame
Needed for match exhaustivity.
Diffstat:
1 file changed, 1 insertion(+), 0 deletions(-)
diff --git a/unix/signal/+linux.ha b/unix/signal/+linux.ha
@@ -428,5 +428,6 @@ export fn signame(sig: signal) const str = {
return "SIGPWR";
case SIGSYS =>
return "SIGSYS";
+ case => abort(); // unreachable
};
};