[Issue 3960] Unused local variables not reported

d-bugmail at puremagic.com d-bugmail at puremagic.com
Thu Feb 9 03:09:34 PST 2012


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



--- Comment #20 from Stewart Gordon <smjg at iname.com> 2012-02-09 03:09:09 PST ---
(In reply to comment #19)
> Now the interface is happy, as is the compiler check, because we 
> made it clear, that we intended to ignore 'b'.

Indeed.  Some C++ compilers work on the principle that if you named a
parameter, you intended to use it, and so issue a warning if you haven't used
it.

But this bug report is about unused local variables, not unused function
parameters.

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