Skip to content

Commit 07fbc4a

Browse files
Racer Trusted Engineerfacebook-github-bot
authored andcommitted
Fix unused parameter warnings in StubErrorUtils.h (#56499)
Summary: Fixed clang-diagnostic-unused-parameter warnings in StubErrorUtils.h by removing unused parameter names while keeping the types. This is a test stub file where the parameters are required by the JSI API but not used in the lambda function body. --- > Generated by [RACER](https://www.internalfb.com/wiki/RACER_(Risk-Aware_Code_Editing_and_Refactoring)/), powered by [Confucius](https://www.internalfb.com/wiki/Confucius/Analect/Shared_Analects/Confucius_Code_Assist_(CCA)/) [Session](https://www.internalfb.com/confucius?session_id=4e4747b6-3945-11f1-bb83-31e48279e63b&tab=Chat), [Trace](https://www.internalfb.com/confucius?session_id=4e4747b6-3945-11f1-bb83-31e48279e63b&tab=Trace) Differential Revision: D101110380
1 parent 68debb2 commit 07fbc4a

1 file changed

Lines changed: 1 addition & 2 deletions

File tree

  • packages/react-native/ReactCommon/react/renderer/runtimescheduler/tests

packages/react-native/ReactCommon/react/renderer/runtimescheduler/tests/StubErrorUtils.h

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -45,8 +45,7 @@ class StubErrorUtils : public jsi::HostObject {
4545
runtime,
4646
name,
4747
1,
48-
[this](
49-
jsi::Runtime &runtime, const jsi::Value &, const jsi::Value *arguments, size_t) noexcept -> jsi::Value {
48+
[this](jsi::Runtime &, const jsi::Value &, const jsi::Value *, size_t) noexcept -> jsi::Value {
5049
reportFatalCallCount_++;
5150
return jsi::Value::undefined();
5251
});

0 commit comments

Comments
 (0)