Skip to content

Commit

Permalink
Comment out unreferenced formal parameter (#36853)
Browse files Browse the repository at this point in the history
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: #36853

Test Plan: Passed Windows testcases

Reviewed By: javache

Differential Revision: D45007332

Pulled By: philIip

fbshipit-source-id: 2e8128549d628a8be6bcd76c1fa473d0bc27649b
  • Loading branch information
TatianaKapos authored and facebook-github-bot committed Apr 14, 2023
1 parent ce17c37 commit 3c0ad81
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -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); });
}
Expand Down

0 comments on commit 3c0ad81

Please sign in to comment.