[Bug c/4076] -Wunused doesn't warn about static function only called by itself.

stevenb dot gcc at gmail dot com gcc-bugzilla@gcc.gnu.org
Sat Jan 27 19:58:00 GMT 2007



------- Comment #8 from stevenb dot gcc at gmail dot com  2007-01-27 19:58 -------
Subject: Re:  -Wunused doesn't warn about static function only called by
itself.

Just one for everything should suffice.

Or, if you prefer, you can remove that one function with a separate
patch first, which, I believe, you can commit as obviously correct
(given that the author of that function and authority of its usage
already ack'ed that the function is dead code).

Thanks for working on this.


-- 


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=4076



More information about the Gcc-bugs mailing list