[code-quality] Nested loop with same control variable: no warning?