summaryrefslogtreecommitdiffstats
path: root/libdimension/dimension
diff options
context:
space:
mode:
Diffstat (limited to 'libdimension/dimension')
-rw-r--r--libdimension/dimension/compiler.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/libdimension/dimension/compiler.h b/libdimension/dimension/compiler.h
index 5ce8ce8..61e53cf 100644
--- a/libdimension/dimension/compiler.h
+++ b/libdimension/dimension/compiler.h
@@ -46,7 +46,7 @@
#endif
#ifdef __GNUC__
- #define DMNSN_UNREACHABLE() __builtin_unreachable();
+ #define DMNSN_UNREACHABLE() __builtin_unreachable()
#else
- #define DMNSN_UNREACHABLE()
+ #define DMNSN_UNREACHABLE() ((void)0)
#endif