[Issue 4694] Unused last assignment warning

d-bugmail at puremagic.com d-bugmail at puremagic.com
Fri Jun 10 12:26:36 PDT 2011


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


Stewart Gordon <smjg at iname.com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |smjg at iname.com


--- Comment #3 from Stewart Gordon <smjg at iname.com> 2011-06-10 12:21:59 PDT ---
(In reply to comment #2)
> The main question, however, is whether
> Walter would ever even considering it, since one, he hates warnings, and two,
> this involves code flow analysis which he generally avoids.

Does picking out the most trivial cases constitute control flow analysis?

Cases where the variable isn't in a loop contained within the variable's scope
and is not referenced at all between the assignment and the end of the scope
certainly ought to be spotted.

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