﻿# V7039\. Unreachable code detected\. Control flow never reaches this statement\.

The analyzer has detected code that will never be executed\. This may indicate a logic error in the code\.

The example:

```cpp
const result = []
for (let i = 0; i < foo; i++) {
    const entry = handle(i)
    continue
    result.push(entry)
}
```

The `continue` statement passes control to the next iteration of the `for` loop, making the code after the statement unreachable\. This is likely the result of a logic error or an unintended change made during debugging\.

The fixed code: 

```cpp
const result = []
for (let i = 0; i < foo; i++) {
    const entry = handle(i)
    result.push(entry)
}
```