Detector for unused variables

Namespace rswhite4 at googlemail.com
Mon Jul 30 10:05:47 PDT 2012


On Monday, 30 July 2012 at 16:47:32 UTC, bearophile wrote:
> Namespace:
>> I wrote a short programm which detect and list unused 
>> variables.
>
> I suggest to attach both code and testcases to:
> http://d.puremagic.com/issues/show_bug.cgi?id=3960
>
> Even if your code will never be used, it shows Walter&Andrei 
> that there is interest in having this warning, and test cases 
> are useful for other implementations too.
>
> Bye,
> bearophile

I think my english isn't good enough to make a persuasive comment 
there, but i will try it this evening. I will simply copy my post 
above.

Andrej Mitrovic:
Maybe automatically if you use -w or -wi.


More information about the Digitalmars-d-learn mailing list