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

Suppress unused variable warnings on node_count (clang 15) #77

Closed
wants to merge 1 commit into from

Conversation

ecatmur
Copy link
Contributor

@ecatmur ecatmur commented Sep 7, 2022

Clang 15 is smart enough to realize that node_count is incremented but never read (if constant_time_size is false or asserts are disabled).

Use boost::ignore_unused to suppress the warning.

Clang 15 is smart enough to realize that node_count is incremented but never read (if constant_time_size is false or asserts are disabled).

Use boost::ignore_unused to suppress the warning.
@ecatmur
Copy link
Contributor Author

ecatmur commented Sep 7, 2022

CI failure is 0xC0000139, some kind of DSO error idk. Presumably not relevant to this change.

@hdu-sdlzx
Copy link

See this warning on fedora 37.
@igaztanaga Can we run CI again and merge this PR?

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.

None yet

2 participants