[Issue 3960] Unused local variables not reported

d-bugmail at puremagic.com d-bugmail at puremagic.com
Fri Jun 10 12:05:16 PDT 2011


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


Stewart Gordon <smjg at iname.com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
           Keywords|diagnostic                  |accepts-invalid
            Summary|Unused variable warning     |Unused local variables not
                   |                            |reported
           Severity|enhancement                 |normal


--- Comment #8 from Stewart Gordon <smjg at iname.com> 2011-06-10 12:00:38 PDT ---
This is accepts-invalid, not an enhancement request.

http://www.digitalmars.com/d/1.0/function.html
"It is an error to declare a local variable that is never referred to."

-- 
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