mirror of
https://github.com/facebook/react-native.git
synced 2025-11-01 09:14:26 +00:00
Comment out unreferenced formal parameter (#36853)
Summary: Recent windows integration brought in a change where a unreferenced formal parameter was introduced in TurboModule.h. Windows treats with warning as an error, this change comments out the formal parameter name to get rid of the error/warning. ## Changelog: [GENERAL] [FIXED] - Comment out unreferenced formal parameter Pull Request resolved: https://github.com/facebook/react-native/pull/36853 Test Plan: Passed Windows testcases Reviewed By: javache Differential Revision: D45007332 Pulled By: philIip fbshipit-source-id: 2e8128549d628a8be6bcd76c1fa473d0bc27649b
This commit is contained in:
committed by
Facebook GitHub Bot
parent
ce17c37050
commit
3c0ad81fef
@@ -120,7 +120,7 @@ class JSI_EXPORT TurboModule : public facebook::jsi::HostObject {
|
||||
static_cast<unsigned int>(meta.argCount),
|
||||
[this, meta](
|
||||
jsi::Runtime &rt,
|
||||
const jsi::Value &thisVal,
|
||||
[[maybe_unused]] const jsi::Value &thisVal,
|
||||
const jsi::Value *args,
|
||||
size_t count) { return meta.invoker(rt, *this, args, count); });
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user