Skip to content

Fix unused parameters in EventQueueProcessorTest.cpp (#56493)#56493

Closed
christophpurrer wants to merge 1 commit intofacebook:mainfrom
christophpurrer:export-D101110552
Closed

Fix unused parameters in EventQueueProcessorTest.cpp (#56493)#56493
christophpurrer wants to merge 1 commit intofacebook:mainfrom
christophpurrer:export-D101110552

Conversation

@christophpurrer
Copy link
Copy Markdown
Contributor

@christophpurrer christophpurrer commented Apr 18, 2026

Summary:

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

@meta-cla meta-cla Bot added the CLA Signed This label is managed by the Facebook bot. Authors need to sign the CLA before a PR can be reviewed. label Apr 18, 2026
@meta-codesync
Copy link
Copy Markdown

meta-codesync Bot commented Apr 18, 2026

@christophpurrer has exported this pull request. If you are a Meta employee, you can view the originating Diff in D101110552.

Summary:

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
@meta-codesync meta-codesync Bot changed the title Fix unused parameters in EventQueueProcessorTest.cpp Fix unused parameters in EventQueueProcessorTest.cpp (#56493) Apr 20, 2026
@meta-codesync meta-codesync Bot closed this in acb85ce Apr 20, 2026
@meta-codesync
Copy link
Copy Markdown

meta-codesync Bot commented Apr 20, 2026

This pull request has been merged in acb85ce.

@facebook-github-tools facebook-github-tools Bot added the Merged This PR has been merged. label Apr 20, 2026
@react-native-bot
Copy link
Copy Markdown
Collaborator

This pull request was successfully merged by @christophpurrer in acb85ce

When will my fix make it into a release? | How to file a pick request?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

CLA Signed This label is managed by the Facebook bot. Authors need to sign the CLA before a PR can be reviewed. fb-exported Merged This PR has been merged. meta-exported p: Facebook Partner: Facebook Partner

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants