summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--src/util.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/util.h b/src/util.h
index 5f02ffd2a3..b7a2d28b66 100644
--- a/src/util.h
+++ b/src/util.h
@@ -181,8 +181,8 @@ void DumpBacktrace(FILE* fp);
#endif
-#define UNREACHABLE(expr) \
- ERROR_AND_ABORT("Unreachable code reached: " expr)
+#define UNREACHABLE(...) \
+ ERROR_AND_ABORT("Unreachable code reached" __VA_OPT__(": ") __VA_ARGS__)
// TAILQ-style intrusive list node.
template <typename T>