﻿# V7026\. A stray semicolon after the condition of an if, for or while statement\.

The analyzer has detected a potential error related to the ';' character after the if, for, or while control constructs\.

The example:

```cpp
if (value > (a - b) / c); {
  ....
  res = calculate(value);
}
```

Because of the ';' character, the code block following `if` does not belong to this `if`\. This results in the code block that executes unconditionally\.

To fix this issue, remove the unnecessary ';' character:

```cpp
if (value > (a - b) / c) {
  ....
  res = calculate(value);
}
```