Fix unused parameters in EventQueueProcessorTest.cpp (#56493)

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

Fixed clang-diagnostic-unused-parameter warnings in EventQueueProcessorTest.cpp by removing unused parameter names from lambda functions.

Changes:
- Line 51: Removed parameter name 'runtime' from dummyEventPipeConclusion lambda
- Line 52: Removed parameter name 'stateUpdate' from dummyStatePipe lambda

This is a standard C++ practice for handling unused parameters - keeping the type for API compatibility while removing the name to silence the warning.

Changelog: [Internal]

Reviewed By: zeyap

Differential Revision: D101110552

fbshipit-source-id: 3391080dcaa4c865177e164869b9732952cde906
This commit is contained in:
Christoph Purrer authored and meta-codesync[bot] committed 2026-04-20 12:55:39 -07:00
1 parent 786ebf0cac
commit acb85ce0d1
1 file changed
+2 -2
@@ -48,8 +48,8 @@ class EventQueueProcessorTest : public testing::Test {
eventPriorities_.push_back(priority);
};
auto dummyEventPipeConclusion = [](jsi::Runtime& runtime) {};
auto dummyStatePipe = [](const StateUpdate& stateUpdate) {};
auto dummyEventPipeConclusion = [](jsi::Runtime&) {};
auto dummyStatePipe = [](const StateUpdate&) {};
auto mockEventLogger = std::make_shared<MockEventLogger>();
eventProcessor_ = std::make_unique<EventQueueProcessor>(