Explanation

The code computes the indicated variable in a parfor loop as a reduction variable, but it appears not to use the reduction variable after the loop. This could be the result of a typographical error in the variable name. However, Code Analyzer can produce this message inappropriately.

See also Reduction Variables.


Suggested Action

If the reduction variable is necessary, then use it after the parfor loop. If not, consider removing it. If the message is incorrect, suppress it as described in Adjust Code Analyzer Message Indicators and Messages.