Closed freak82 closed 1 week ago
Use /* name ATS_UNUSED */ for fully unused parameters. Use [[maybe_unused]] attribute for conditionally unused parameters used in asserts.
/* name ATS_UNUSED */
[[maybe_unused]]
This pull request is part of the effort for removing the -Wno-unused-parameter warning suppression.
-Wno-unused-parameter
@JosiahWI The pull request is updated with the requested changes.
Cherry-picked to v10.0.x
Use
/* name ATS_UNUSED */
for fully unused parameters. Use[[maybe_unused]]
attribute for conditionally unused parameters used in asserts.This pull request is part of the effort for removing the
-Wno-unused-parameter
warning suppression.