Fixed #4879 (false positive: uninitialized variable in inner for inside while (regression))