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

Remove sizeof from unused variable silencer #1974

Merged
merged 1 commit into from
Nov 3, 2020

Conversation

darklukee
Copy link
Contributor

Using sizeof causes some compilers to complain:
'operand of sizeof is not a type, variable, or dereferenced pointer'

static_cast itself should be enough to silence unused variable warning

Using sizeof causes some compilers to complain:
'operand of sizeof is not a type, variable, or dereferenced pointer'

static_cast itself should be enough to silence unused variable warning
@vitaut vitaut merged commit 771292c into fmtlib:master Nov 3, 2020
@vitaut
Copy link
Contributor

vitaut commented Nov 3, 2020

Thank you

@darklukee darklukee deleted the unused_variable_silencer branch November 5, 2020 08:57
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.

3 participants