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

Fix a build error when assertions are disabled #6397

Merged
merged 1 commit into from
Mar 14, 2024

Conversation

tlively
Copy link
Member

@tlively tlively commented Mar 13, 2024

Add [[maybe_unused]] to variables that are only used in assertions. In builds
without assertions enabled, these were causing compiler errors about unused
variables.

Add `[[maybe_unused]]` to variables that are only used in assertions. In builds
without assertions enabled, these were causing compiler errors about unused
variables.
@tlively tlively requested a review from kripken March 13, 2024 23:51
@tlively
Copy link
Member Author

tlively commented Mar 13, 2024

This stack of pull requests is managed by Graphite. Learn more about stacking.

Join @tlively and the rest of your teammates on Graphite Graphite

@tlively tlively merged commit 6e8fefe into main Mar 14, 2024
13 of 15 checks passed
@tlively tlively deleted the fix-no-assertions-unused branch March 14, 2024 01:00
@gkdn gkdn mentioned this pull request Aug 31, 2024
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