diff --git a/src/util.h b/src/util.h index 5f02ffd2a3653e..b7a2d28b669aaa 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