Community
Participate
Working Groups
Using the following code, I get an "Local vaiable is never used" warning. String zeile = null; while ((zeile = copystrecke.readLine()) != null) { ... } It seems that the assignment in the while statement is not evaluated for this warning. - Mirko -
Are you using the variable zeile in the while block?
The warning says: "Local variable is never *read*". An assignment is only a write access.