V7026. 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:
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:
if (value > (a - b) / c) {
....
res = calculate(value);
}