Skip to content

Conversation

@freak82
Copy link
Contributor

@freak82 freak82 commented Jun 21, 2024

Use /* name ATS_UNUSED */ for fully unused parameters.
Use [[maybe_unused]] attribute for conditionally unused parameters used in asserts.

This pull request is part of the effort for removing the -Wno-unused-parameter warning suppression.

Copy link
Contributor

@JosiahWI JosiahWI left a comment

Choose a reason for hiding this comment

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

Looks good. It'd be great if we could remove a few of these unused parameters as well.

This was suggested during a review of the pull request
@freak82
Copy link
Contributor Author

freak82 commented Jun 21, 2024

@JosiahWI
The pull request is updated with the requested changes.

Copy link
Contributor

@JosiahWI JosiahWI left a comment

Choose a reason for hiding this comment

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

Thanks for the cleanup!

@JosiahWI JosiahWI requested a review from cmcfarlen June 21, 2024 16:21
@cmcfarlen cmcfarlen merged commit 29fa13a into apache:master Jun 21, 2024
@cmcfarlen cmcfarlen modified the milestones: 10.1.0, 10.0.0 Jun 21, 2024
@cmcfarlen
Copy link
Contributor

Cherry-picked to v10.0.x

cmcfarlen pushed a commit that referenced this pull request Jun 21, 2024
* Fix unused function parameters in the plugins functionality

* Completely remove some unused parameters in the plugins functionality

This was suggested during a review of the pull request

(cherry picked from commit 29fa13a)
@freak82 freak82 deleted the unused_params_plugins branch June 28, 2024 08:57
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

Status: picked-10.0.0

Development

Successfully merging this pull request may close these issues.

3 participants