Detector for unused variables

Namespace rswhite4 at googlemail.com
Mon Jul 30 14:35:25 PDT 2012


On Monday, 30 July 2012 at 21:13:42 UTC, Andrej Mitrovic wrote:
> On 7/30/12, Namespace <rswhite4 at googlemail.com> wrote:
>> BTW: Has anyone test my detector and could give me some
>> suggestions or critism?
>>
>
> I've tried it out and it didn't find any unused variables, but 
> I doubt
> this is true, I'm not very tidy when it comes to using 
> variables. I do
> use a lot of templates so maybe the script bailed on those.

Templates and object types aren't supported right now. But maybe 
next time.
Until now only primitive types are being detected. But if you 
have code where you think my programm fails, then i'm very glad 
if you will post it here. :)


More information about the Digitalmars-d-learn mailing list