Community
Participate
Working Groups
Example of code snippet: int lastY = getPadding().top; Label item = null; for( int i = 0; i < listItems.size(); i++ ) { item = (Label)listItems.get( i ); } I have "warning" turned on for variables that are unused, and eclipse reports "item" as an unused variable. I'm using: Windows XP Eclipse March 22nd stable release JDK 1.4
The error message was changed a while ago to read : "The local variable item is never read" which is more intuitive. Closing.