Community
Participate
Working Groups
build 200405272000 (but I have seen this in previous builds) 1) Enable warnings for "Unused local variables" 2) Load the org.eclipse.swt from CVS 3) rename .classpath_carbon to .classpath There is a warning in org.eclipse.swt.graphics.TextLayout.getLineBounds(int) saying that the var "start" is not used, but the var is assigned inside the for loop.
The setting is "Local variable is never read". So if this is the only access to the variable, then it is a dead assignment, and you could simply discard the variable altogether, it shouldn't make any difference (except if you need the intermediate variable for debug purpose - when suspended in debugger, and browsing existing variable values). Ok to close ?
Yeap, I should have look at the code closer.