Skip to content

Content Tagged "unused"

Page 1 of 1

Trick C++ on Unused Variables

December 24, 2015Category: Software
If you enable warning on unused method parameters ( -Wextra or -Wunused) and you get warnings in method parameters, you're supposed to change the signature. Sometimes this is not OK and you still need the build to pass cleanly. Java has the glorious @SuppressWarnings, so my best and most portable…

All tags