Skip to content

Commit a54d8ca

Browse files
Fix unused parameter warnings in NativeFantomTestSpecificMethods.cpp (#56492)
Summary: 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
1 parent 19a23e7 commit a54d8ca

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

packages/react-native/ReactCommon/react/nativemodule/fantomtestspecificmethods/NativeFantomTestSpecificMethods.cpp

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -46,8 +46,8 @@ void NativeFantomTestSpecificMethods::registerForcedCloneCommitHook(
4646
}
4747

4848
void NativeFantomTestSpecificMethods::takeFunctionAndNoop(
49-
jsi::Runtime& runtime,
50-
jsi::Function function) {}
49+
jsi::Runtime& /* runtime */,
50+
jsi::Function /* callback */) {}
5151

5252
void NativeFantomTestSpecificMethods::setRootNodeSize(
5353
jsi::Runtime& runtime,

0 commit comments

Comments
 (0)