Skip to content

use std::ignore to fix assert unused variable warnings #382

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

Merged
merged 1 commit into from
Oct 21, 2024

Conversation

bashbaug
Copy link
Contributor

Fixes #362

Description of Changes

Uses std::ignore to fix unused variable warnings for release builds, where the "unused variables" were used for the assert macro.

Testing Done

Examined automated builds for MacOS and observed that warnings were fixed.

@bashbaug bashbaug merged commit 6c290af into intel:main Oct 21, 2024
7 checks passed
@bashbaug bashbaug deleted the fix-osx-warnings branch October 21, 2024 21:33
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.

fix MacOS warnings
1 participant