Closed jhjourdan closed 12 years ago
thanks for the contribution. Why does dropping out the variables help gcc warnings.
i.e. https://github.com/jhjourdan/CppBugs/commit/9bfbd6ea0385f8f564044ccad042d5db10f9ac87
-Whit
When you compile with -W -Wall, gcc complains about not used parameters. But, if you drop the parameters names, gcc know you actually do not want to use them.
Jacques-Henri Jourdan
PS : I put in this pull requests several different things you may find usefull. Please just pick the ones you want.
Le 07/07/2012 03:40, Whit Armstrong a écrit :
thanks for the contribution. Why does dropping out the variables help gcc warnings.
i.e. https://github.com/jhjourdan/CppBugs/commit/9bfbd6ea0385f8f564044ccad042d5db10f9ac87
-Whit
Reply to this email directly or view it on GitHub: https://github.com/armstrtw/CppBugs/pull/9#issuecomment-6819623
Merged via cherry-pick.