summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorTavian Barnes <tavianator@tavianator.com>2014-04-23 18:11:49 -0400
committerTavian Barnes <tavianator@tavianator.com>2014-04-23 18:11:49 -0400
commit3ce3ed46f5cd95bfca4f9303c93859fac54476bb (patch)
tree5743ac605f4e17900794d0d8c4bf9bd212c6e29b
parent11bacbe9ebbd9c91b7e4b25bc2e390413abe1868 (diff)
downloaddimension-3ce3ed46f5cd95bfca4f9303c93859fac54476bb.tar.xz
compiler.h: Fix extra semicolon in macro.
-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