[Issue 3960] Unused local variables not reported

d-bugmail at puremagic.com d-bugmail at puremagic.com
Thu Apr 26 15:04:37 PDT 2012


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



--- Comment #29 from Stewart Gordon <smjg at iname.com> 2012-04-26 15:05:39 PDT ---
(In reply to comment #28)
> There are solutions to that problem, Steven Schveighoffer suggests 
> something like:
> 
> pragma(used) int x;
> 
> Or:
> @used int x;

Does this gain anything over what I suggested in issue 7989 comment 3?

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