Forum Discussion
Altera_Forum
Honored Contributor
10 years agoCompiler not detecting unused functions
I recently inherited a project and I am trying to clean it up. I have the following warnings enabled but I don't think the unused functions are being detected or at least reported by the compiler. ...
Altera_Forum
Honored Contributor
10 years agoBecause your function is not defined as static void it could be used in other files. Since the compiler looks at only one file at a time it has no way of knowing if this is the case.