Skip to content

Remove dead commented-out code in register_client#2500

Merged
Kludex merged 1 commit into
modelcontextprotocol:mainfrom
ZLeventer:fix/remove-dead-code-auth-utils
Jun 2, 2026
Merged

Remove dead commented-out code in register_client#2500
Kludex merged 1 commit into
modelcontextprotocol:mainfrom
ZLeventer:fix/remove-dead-code-auth-utils

Conversation

@ZLeventer
Copy link
Copy Markdown
Contributor

Summary

Remove two commented-out lines after a return statement in src/mcp/client/auth/utils.py. They are unreachable and appear to be leftover from a refactor.

Test plan

  • Existing tests pass

Two commented-out lines after a `return` statement are unreachable
and appear to be leftover from a refactor.
@Kludex Kludex merged commit 4f6f0e8 into modelcontextprotocol:main Jun 2, 2026
25 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants