The analyzer has detected a potential error in a loop: there may be a typo which causes a wrong variable to be incremented/decremented.
For example:
void Foo(float *Array, size_t n)
{
for (size_t i = 0; i != n; ++n)
{
....
}
}
The variable 'n' is incremented instead of the variable 'i'. It results in an unexpected program behavior.
This is the fixed code:
for (size_t i = 0; i != n; ++i)
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:
Take
a chance!