From 3a73ac521cfef932e8a98c1ff39616cf877e5de0 Mon Sep 17 00:00:00 2001 From: Bruce Hill Date: Wed, 16 Apr 2025 19:25:59 -0400 Subject: Roll back change to add a return for unreachable functions --- src/stdlib/util.h | 2 -- 1 file changed, 2 deletions(-) (limited to 'src/stdlib/util.h') diff --git a/src/stdlib/util.h b/src/stdlib/util.h index e54c1cab..25cd49f9 100644 --- a/src/stdlib/util.h +++ b/src/stdlib/util.h @@ -21,8 +21,6 @@ #define WHEN(type, subj, var, body) { type var = subj; switch (var.$tag) body } -#define UNREACHABLE_RETURN(t) { errx(1, "Unreachable"); t _unreachable; return _unreachable; } - #ifndef public #define public __attribute__ ((visibility ("default"))) #endif -- cgit v1.2.3