[Issue 3882] Unused result of pure functions
d-bugmail at puremagic.com
d-bugmail at puremagic.com
Tue Mar 18 06:40:35 PDT 2014
https://d.puremagic.com/issues/show_bug.cgi?id=3882
--- Comment #27 from Per Nordlöw <per.nordlow at gmail.com> 2014-03-18 06:40:27 PDT ---
> It's not a good idea to Inhibit more DMD warnings introducing spurious
> variables that could generate new "variable not used" warnings:
If you're interested I could try looking into adding support in DMD for
emitting such warnings. If so could someone guide to a place in the DMD sources
where this check should be added?
> A better fix is to use the cast(void) everywhere.
Ok, I'll change this today and then do a new pull request for Phobos.
--
Configure issuemail: https://d.puremagic.com/issues/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
More information about the Digitalmars-d-bugs
mailing list