The analyzer has detected a typo in the loop termination condition.
For example:
for (size_t i = 0; v.size(); ++i)
sum += v[i];
If the 'v' array is not empty, an infinite loop will occur.
The fixed code:
for (size_t i = 0; i < v.size(); ++i)
sum += v[i];
This diagnostic is classified as:
You can look at examples of errors detected by the V693 diagnostic. |
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:
Take
a chance!