[Issue 3960] Unused local variables not reported

d-bugmail at puremagic.com d-bugmail at puremagic.com
Thu Feb 9 08:42:54 PST 2012


http://d.puremagic.com/issues/show_bug.cgi?id=3960



--- Comment #22 from Jonathan M Davis <jmdavisProg at gmx.com> 2012-02-09 08:42:51 PST ---
I know that Walter is against having warnings or errors for unused parameters
(he has _definitely_ said as much on the newsgroup), but he may feel
differently about local variables. The spec specifically says that unused
_local_ variables are an error. So, Walter probably views those differently,
which makes some sense - particularly since they aren't affected by overriding
and the like.

-- 
Configure issuemail: http://d.puremagic.com/issues/userprefs.cgi?tab=email
------- You are receiving this mail because: -------


More information about the Digitalmars-d-bugs mailing list