Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

BaseSocket: Remove dead code in BaseSocket.bind(to:) #2086

Merged
merged 1 commit into from
Apr 22, 2022

Conversation

simonjbeaumont
Copy link
Contributor

Motivation:

There's a local function created in BaseSocket.bind(to:) which doesn't appear to be used and is probably vestigial following an historic refactor.

Modifications:

Remove the unused local function.

Result:

Less unused code.

Signed-off-by: Si Beaumont <beaumont@apple.com>
@simonjbeaumont
Copy link
Contributor Author

@Lukasa Just a trivial PR that resulted from digging around the socket code.

@Lukasa Lukasa added the patch-version-bump-only For PRs that when merged will only cause a bump of the patch version, ie. 1.0.x -> 1.0.(x+1) label Apr 22, 2022
Copy link
Contributor

@Lukasa Lukasa left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Nice catch, thanks! ❇️

@Lukasa Lukasa enabled auto-merge (squash) April 22, 2022 16:05
@Lukasa Lukasa merged commit 124119f into apple:main Apr 22, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
patch-version-bump-only For PRs that when merged will only cause a bump of the patch version, ie. 1.0.x -> 1.0.(x+1)
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants