Skip to content

Fix unused parameter warnings in StubWebSocketClient.h (#56527)#56527

Closed
christophpurrer wants to merge 1 commit into
react:mainfrom
christophpurrer:export-D101110612
Closed

Fix unused parameter warnings in StubWebSocketClient.h (#56527)#56527
christophpurrer wants to merge 1 commit into
react:mainfrom
christophpurrer:export-D101110612

Conversation

@christophpurrer

@christophpurrer christophpurrer commented Apr 21, 2026

Copy link
Copy Markdown
Contributor

Summary:

Removed parameter names from unused parameters in StubWebSocketClient stub implementation to fix clang-diagnostic-unused-parameter warnings. This stub class implements IWebSocketClient interface with empty method bodies, so all parameters were unused.

Changelog: [Internal]

Reviewed By: philIip

Differential Revision: D101110612

@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 21, 2026
@meta-codesync

meta-codesync Bot commented Apr 21, 2026

Copy link
Copy Markdown

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

@meta-codesync meta-codesync Bot changed the title Fix unused parameter warnings in StubWebSocketClient.h Fix unused parameter warnings in StubWebSocketClient.h (#56527) Apr 21, 2026
christophpurrer added a commit to christophpurrer/react-native-macos that referenced this pull request Apr 21, 2026
Summary:

Removed parameter names from unused parameters in StubWebSocketClient stub implementation to fix clang-diagnostic-unused-parameter warnings. This stub class implements IWebSocketClient interface with empty method bodies, so all parameters were unused.

Changelog: [Internal]

Differential Revision: D101110612
christophpurrer added a commit to christophpurrer/react-native-macos that referenced this pull request Apr 21, 2026
Summary:
Pull Request resolved: react#56527

Removed parameter names from unused parameters in StubWebSocketClient stub implementation to fix clang-diagnostic-unused-parameter warnings. This stub class implements IWebSocketClient interface with empty method bodies, so all parameters were unused.

Changelog: [Internal]

Differential Revision: D101110612
christophpurrer added a commit to christophpurrer/react-native-macos that referenced this pull request Apr 21, 2026
Summary:

Removed parameter names from unused parameters in StubWebSocketClient stub implementation to fix clang-diagnostic-unused-parameter warnings. This stub class implements IWebSocketClient interface with empty method bodies, so all parameters were unused.

Changelog: [Internal]

Differential Revision: D101110612
christophpurrer added a commit to christophpurrer/react-native-macos that referenced this pull request Apr 22, 2026
Summary:

Removed parameter names from unused parameters in StubWebSocketClient stub implementation to fix clang-diagnostic-unused-parameter warnings. This stub class implements IWebSocketClient interface with empty method bodies, so all parameters were unused.

Changelog: [Internal]

Differential Revision: D101110612
christophpurrer added a commit to christophpurrer/react-native-macos that referenced this pull request Apr 22, 2026
Summary:

Removed parameter names from unused parameters in StubWebSocketClient stub implementation to fix clang-diagnostic-unused-parameter warnings. This stub class implements IWebSocketClient interface with empty method bodies, so all parameters were unused.

Changelog: [Internal]

Differential Revision: D101110612
christophpurrer added a commit to christophpurrer/react-native-macos that referenced this pull request Apr 22, 2026
Summary:
Pull Request resolved: react#56527

Removed parameter names from unused parameters in StubWebSocketClient stub implementation to fix clang-diagnostic-unused-parameter warnings. This stub class implements IWebSocketClient interface with empty method bodies, so all parameters were unused.

Changelog: [Internal]

Differential Revision: D101110612
christophpurrer added a commit to christophpurrer/react-native-macos that referenced this pull request Apr 22, 2026
Summary:
Pull Request resolved: react#56527

Removed parameter names from unused parameters in StubWebSocketClient stub implementation to fix clang-diagnostic-unused-parameter warnings. This stub class implements IWebSocketClient interface with empty method bodies, so all parameters were unused.

Changelog: [Internal]

Differential Revision: D101110612
@christophpurrer christophpurrer force-pushed the export-D101110612 branch 2 times, most recently from 92414cb to 0c8ca06 Compare April 22, 2026 17:03
christophpurrer added a commit to christophpurrer/react-native-macos that referenced this pull request Apr 22, 2026
Summary:

Removed parameter names from unused parameters in StubWebSocketClient stub implementation to fix clang-diagnostic-unused-parameter warnings. This stub class implements IWebSocketClient interface with empty method bodies, so all parameters were unused.

Changelog: [Internal]

Reviewed By: philIip

Differential Revision: D101110612
christophpurrer added a commit to christophpurrer/react-native-macos that referenced this pull request Apr 22, 2026
Summary:

Removed parameter names from unused parameters in StubWebSocketClient stub implementation to fix clang-diagnostic-unused-parameter warnings. This stub class implements IWebSocketClient interface with empty method bodies, so all parameters were unused.

Changelog: [Internal]

Reviewed By: philIip

Differential Revision: D101110612
Summary:
Pull Request resolved: react#56527

Removed parameter names from unused parameters in StubWebSocketClient stub implementation to fix clang-diagnostic-unused-parameter warnings. This stub class implements IWebSocketClient interface with empty method bodies, so all parameters were unused.

Changelog: [Internal]

Reviewed By: philIip

Differential Revision: D101110612
@meta-codesync meta-codesync Bot closed this in f41364d Apr 22, 2026
@facebook-github-tools facebook-github-tools Bot added the Merged This PR has been merged. label Apr 22, 2026
@meta-codesync

meta-codesync Bot commented Apr 22, 2026

Copy link
Copy Markdown

This pull request has been merged in f41364d.

@react-native-bot

Copy link
Copy Markdown
Collaborator

This pull request was successfully merged by @christophpurrer in f41364d

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