Skip to content

Commit 7488f66

Browse files
inobelarfacebook-github-bot
authored andcommitted
fatalWithMessage() - added warning suppression: unused 'message' argument (#50148)
Summary: Pull Request resolved: #50148 ## Changelog: [Internal] - suppression: unused 'message' argument X-link: facebook/yoga#1803 Reviewed By: NickGerleman Differential Revision: D71492528 Pulled By: lunaleaps fbshipit-source-id: 6fc7a665066351d15e09f0b6c82ed1fe3f688a94
1 parent 6df938c commit 7488f66

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

packages/react-native/ReactCommon/yoga/yoga/debug/AssertFatal.cpp

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -19,6 +19,7 @@ namespace facebook::yoga {
1919
#if defined(__cpp_exceptions)
2020
throw std::logic_error(message);
2121
#else
22+
static_cast<void>(message); // Unused
2223
std::terminate();
2324
#endif
2425
}

0 commit comments

Comments
 (0)