Skip to content

Workaround a GCC 7,8,9 warning about unused but set parameter - #2177

Merged
vitaut merged 1 commit into
fmtlib:masterfrom
alexezeder:fix/issue-2170
Mar 13, 2021
Merged

vitaut merged 1 commit into
fmtlib:masterfrom
alexezeder:fix/issue-2170

Conversation

@alexezeder

Copy link
Copy Markdown
Contributor

Resolves #2170.

I checked this fix on GitHub Actions for GCC 6-10 for warning from issue:

GCC 6 GCC 7 GCC 8 GCC 9 GCC 10
before no warning warning presented warning presented warning presented no warning
after no warning no warning no warning no warning no warning

@vitaut
vitaut merged commit c8d8b88 into fmtlib:master Mar 13, 2021
@vitaut

vitaut commented Mar 13, 2021

Copy link
Copy Markdown
Contributor

Thank you!

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.

gcc 7 and 8.2 warning: parameter ‘arg_name’ set but not used

2 participants