This is the mail archive of the gcc-bugs@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

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



------- Comment #10 from manu at gcc dot gnu dot org  2007-01-29 18:08 -------
(In reply to comment #9)
> I will submit two patches. The first one will remove the function. Then, I have
> to regtest the second one: perhaps we find another unused function!

Another one:

genautomata.c: static int longest_path_length (state_t state)

Should also be removed completely?


-- 


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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]