Community
Participate
Working Groups
(Using Eclipse Version: 3.2.0 Build id: I20060223-1656) Here is a minimal case to reproduce: // start of code int i = 0; for(; arr[i] != 0; ++i) { int c = arr[i]; } // end of code Select "arr[i]" and choose to extract a local variable. The newly declared variable is declared outside the loop, which causes a logical error.
*** This bug has been marked as a duplicate of 27740 ***