From fcd0e8887f05718980f5b3759d62ec91a932d104 Mon Sep 17 00:00:00 2001 From: Yurii Nakonechnyi Date: Wed, 19 Mar 2025 17:57:06 +0200 Subject: [PATCH] fatalWithMessage() - added warning suppression: unused 'message' argument --- yoga/debug/AssertFatal.cpp | 1 + 1 file changed, 1 insertion(+) diff --git a/yoga/debug/AssertFatal.cpp b/yoga/debug/AssertFatal.cpp index 5016053b..e36af650 100644 --- a/yoga/debug/AssertFatal.cpp +++ b/yoga/debug/AssertFatal.cpp @@ -19,6 +19,7 @@ namespace facebook::yoga { #if defined(__cpp_exceptions) throw std::logic_error(message); #else + static_cast(message); // Unused std::terminate(); #endif } -- 2.50.1.windows.1