Unused variables and bugs

Brian Schott via Digitalmars-d digitalmars-d at puremagic.com
Fri Aug 22 14:07:18 PDT 2014


On Friday, 22 August 2014 at 19:07:24 UTC, bearophile wrote:
> Another solution is to leave such tests out of the core 
> compiler, and put them in a lint tool that you run when you 
> think your code is in good shape.

https://github.com/Hackerpilot/Dscanner

The unused variable and unused parameter checks have existed 
since May. As far as I know it only gives false positives if 
mixin statements are present.


More information about the Digitalmars-d mailing list