Skip to content

Conversation

koic
Copy link
Member

@koic koic commented Sep 20, 2025

Motivation and Context

There are some unused block variables. This change removes block parameters that consist solely of unused block parameters.
Where Hash#values suffices instead of ignoring unused variables, replace such code with Hash#values.

How Has This Been Tested?

All existing tests pass.

Breaking Changes

None.

Types of changes

  • Bug fix (non-breaking change which fixes an issue)
  • New feature (non-breaking change which adds functionality)
  • Breaking change (fix or feature that would cause existing functionality to change)
  • Documentation update

Checklist

  • I have read the MCP Documentation
  • My code follows the repository's style guidelines
  • New and existing tests pass locally
  • I have added appropriate error handling
  • I have added or updated documentation as needed

There are some unused block variables. This change removes block parameters
that consist solely of unused block parameters.
Where `Hash#values` suffices instead of ignoring unused variables,
replace such code with `Hash#values`.
@koic koic merged commit e168292 into modelcontextprotocol:main Sep 21, 2025
5 checks passed
@koic koic deleted the remove_useless_block_argument branch September 21, 2025 04:09
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