From 5c330e4d88f73d3c060ad4dacddda2281d93182e Mon Sep 17 00:00:00 2001 From: Michael Chirico Date: Thu, 13 Aug 2026 13:17:29 -0700 Subject: [PATCH] Assert [[noreturn]] for Log::Fatal --- include/stochtree/log.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/include/stochtree/log.h b/include/stochtree/log.h index 9f64c31be..ca38fe39f 100644 --- a/include/stochtree/log.h +++ b/include/stochtree/log.h @@ -110,7 +110,7 @@ class Log { Write(LogLevel::Warning, "Warning", format, val); va_end(val); } - static void Fatal(const char *format, ...) { + [[noreturn]] static void Fatal(const char *format, ...) { va_list val; const size_t kBufSize = 1024; char str_buf[kBufSize];