Lucky hour! Grab a free trial license — offer ends in 00:59:58. Claim now
The analyzer detected a loop counter used as an index in the loop termination condition. Such code looks suspicious.
Consider the following example:
for (int i = 0; i < n; ++i)
for (int j = 0; j < arr[j]; ++j)
....
The programmer must have intended to use the variable 'i' instead of 'j':
for (int i = 0; i < n; ++i)
for (int j = 0; j < arr[i]; ++j)
....
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: