Summary: | unnecessary code error: 'Local variable is never read' and 'Unused local or private member' | ||
---|---|---|---|
Product: | [Eclipse Project] JDT | Reporter: | Holger Staudacher <holger.staudacher> |
Component: | Core | Assignee: | Srikanth Sankaran <srikanth_sankaran> |
Status: | VERIFIED INVALID | QA Contact: | |
Severity: | normal | ||
Priority: | P3 | CC: | david_audel, Mike_Wilson, srikanth_sankaran |
Version: | 3.5 | ||
Target Milestone: | 3.5 RC1 | ||
Hardware: | Macintosh | ||
OS: | Mac OS X - Carbon (unsup.) | ||
Whiteboard: |
Description
Holger Staudacher
2009-05-04 05:49:40 EDT
No, the default values should be "warning" for both the settings you mention. You can confirm this by switching to a fresh workspace (File + Switch workspace ... and type in the name of a non-existent workspace) and looking for the default values of these settings there. What did happen at M6 time was that the compiler started issuing warnings in more contexts than it used to earlier. For instance unused public members of private inner classes get warned against beginning M6. See bug# 201912 Changing Version tag to something more believable. (In reply to comment #1) > No, the default values should be "warning" for both > the settings you mention. You can confirm this by > switching to a fresh workspace (File + Switch workspace ... > and type in the name of a non-existent workspace) and > looking for the default values of these settings > there. Hello, have you had a chance to double check this ? (I'll wait for a couple of days before closing this as INVALID). Closing this as INVALID since the defaults are actually that these unused symbols are warned against. To verify, play with these settings and set them to error. Then click on the restore defaults buttonm you will see that these are restored to be warnings. Verified for 3.5RC1 |