On 12/21/2012 06:59 PM, Jonathan M Davis wrote:
A lint-like tool is free to point them out for you, and maybe an IDE could
highlight them, but actually making the compiler consider unused variables to
be either a warning or an error would be an incredibly bad idea for D - on top
of the fact that it would be really annoying.

How about a separate compiler flag to warn about this issue alone? Useful for those who want these checks, doesn't affect those who don't.

Reply via email to