Fix unused parameter warnings in NativeFantomTestSpecificMethods.cpp (#56492)

Summary:
Pull Request resolved: https://github.com/facebook/react-native/pull/56492

Fixed clang-diagnostic-unused-parameter warnings by commenting out unused parameters in the takeFunctionAndNoop method. This method appears to be a no-op function that takes a callback but doesn't use it, likely for testing purposes.

Changelog: [Internal]

Reviewed By: cortinico

Differential Revision: D101108571

fbshipit-source-id: f1313f30aa19ba5135e3d38212719fb48ecd2a58
This commit is contained in:
Christoph Purrer authored and meta-codesync[bot] committed 2026-04-21 22:26:08 -07:00
1 parent eed1e3456c
commit 089276a53b
1 file changed
+2 -2
@@ -46,8 +46,8 @@ void NativeFantomTestSpecificMethods::registerForcedCloneCommitHook(
}
void NativeFantomTestSpecificMethods::takeFunctionAndNoop(
jsi::Runtime& runtime,
jsi::Function function) {}
jsi::Runtime& /* runtime */,
jsi::Function /* callback */) {}
void NativeFantomTestSpecificMethods::setRootNodeSize(
jsi::Runtime& runtime,