[Bug c++/68230] Unused function parameters not reported by -Wunused-parameter when only used recursively.

redi at gcc dot gnu.org gcc-bugzilla@gcc.gnu.org
Thu Sep 28 23:57:00 GMT 2017


https://gcc.gnu.org/bugzilla/show_bug.cgi?id=68230

--- Comment #7 from Jonathan Wakely <redi at gcc dot gnu.org> ---
(In reply to Joshua T, Fisher from comment #5)
> and my blog where I first encountered this in a closed source codebase:
> 
> http://www.nullterminatedstrings.com/c++/recursive-warning

I'm a bit more persuaded having read this. If it points out you forgot to use
it (for anything except the recursion) that could help find real bugs.


More information about the Gcc-bugs mailing list