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);
}
This diagnostic is classified as:
Was this page helpful?
Your message has been sent. We will email you at
If you do not see the email in your inbox, please check if it is filtered to one of the following folders: