Wish: Variable Not Used Warning

Ary Borenszweig ary at esperanto.org.ar
Sat Jul 5 19:42:22 PDT 2008


Nick Sabalausky a écrit :
> I don't suppose there's any chance of DMD getting a warning for 
> variables/arguments that are declared but never accessed? Just today alone 
> there's been two bugs I spent 10-30 minutes going nuts trying to track down 
> that turned out to be variables I had intended to use but forgot to. 

Moreover, I'd like a warning when a private variable is declared but 
never read. And when a private method is declared but never invoked.



More information about the Digitalmars-d mailing list