FWIW: results of cppcheck on dmd sources

bearophile bearophileHUGS at lycos.com
Tue Jun 19 08:23:51 PDT 2012


Trass3r:
> http://trass3r.github.com/dmd-cppcheck/

Beside the usual "Unused variable: xxxx", and the nice "Variable 
'xxx' is assigned a value that is never used", I see an uncommon 
class of suggestions, "The scope of the variable 'xxxxx' can be 
reduced." that is simple but useful.

Bye,
bearophile


More information about the Digitalmars-d mailing list