Re: defined but unused variables

2015-07-11 Thread Paul Smith
On Tue, 2015-02-17 at 21:54 -0800, Dale Lukas Peterson wrote: > I am working with a build system that has a lot of undefined make > variables used in the makefiles. The --warn-undefined-variables flag > has been very helpful in cleaning things up. Is there a way to warn > when a make variable is

defined but unused variables

2015-02-18 Thread Dale Lukas Peterson
I am working with a build system that has a lot of undefined make variables used in the makefiles. The --warn-undefined-variables flag has been very helpful in cleaning things up. Is there a way to warn when a make variable is defined but never used? This would further help remove dead build sys