aboutsummaryrefslogtreecommitdiff
path: root/src/stdlib
diff options
context:
space:
mode:
authorBruce Hill <bruce@bruce-hill.com>2025-04-16 19:25:59 -0400
committerBruce Hill <bruce@bruce-hill.com>2025-04-16 19:25:59 -0400
commit3a73ac521cfef932e8a98c1ff39616cf877e5de0 (patch)
tree195e188dfb89a2ecc2ce3234af516b1d174fab73 /src/stdlib
parent39b463ff60ea172d5f538310ec4e26b2a5427fb7 (diff)
Roll back change to add a return for unreachable functions
Diffstat (limited to 'src/stdlib')
-rw-r--r--src/stdlib/util.h2
1 files changed, 0 insertions, 2 deletions
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