Summary: | Incorrect "unused variable" warning? | ||
---|---|---|---|
Product: | [Eclipse Project] JDT | Reporter: | Jared Burns <jared_burns> |
Component: | Core | Assignee: | Philipe Mulet <philippe_mulet> |
Status: | RESOLVED FIXED | QA Contact: | |
Severity: | normal | ||
Priority: | P1 | ||
Version: | 2.0 | ||
Target Milestone: | 2.0 M3 | ||
Hardware: | Other | ||
OS: | other | ||
Whiteboard: |
Description
Jared Burns
2002-01-24 15:00:39 EST
Thought these intempestive warnings were already disabled. Need to investigate Was testing the IsReachableMASK bit, which is always set to true by default, and cleared on non reachable statements. Nested nodes aren't set correctly, and are supposed to be tested (code gen will not investigate unreachable statement subnodes). Fixed by using a distinct bit for LocalDeclaration reachability. |