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

COMP: Suppress unused variable warning when not debugging. #4990

Conversation

hjmjohnson
Copy link
Member

Wrap variable that is not used unless debugging is enabled.

PR Checklist

@hjmjohnson hjmjohnson added the type:Compiler Compiler support or related warnings label Nov 25, 2024
@hjmjohnson hjmjohnson added this to the ITK 6.0 Beta 1 milestone Nov 25, 2024
@hjmjohnson hjmjohnson self-assigned this Nov 25, 2024
@github-actions github-actions bot added the area:Registration Issues affecting the Registration module label Nov 25, 2024
Copy link
Member

@dzenanz dzenanz left a comment

Choose a reason for hiding this comment

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

I think that FEM modules are off by default, so CI will not catch any compile errors in them.

@hjmjohnson hjmjohnson merged commit 4ef72c3 into InsightSoftwareConsortium:master Nov 26, 2024
17 checks passed
@hjmjohnson hjmjohnson deleted the suppress-unsued-notdebug-var branch November 26, 2024 01:48
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
area:Registration Issues affecting the Registration module type:Compiler Compiler support or related warnings
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants