summaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/util/macros.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/util/macros.h b/src/util/macros.h
index 5fc6729536c..eec8b9352cc 100644
--- a/src/util/macros.h
+++ b/src/util/macros.h
@@ -82,7 +82,7 @@ do { \
#endif
#ifndef unreachable
-#define unreachable(str)
+#define unreachable(str) assert(!str)
#endif
/**