C5909: Assignment in condition

[WARNING]

Description

The Compiler has detected an assignment in a condition. Such an assignment may result from a missing '=' which is normally a programming error. This message may be generated during tree optimizations (Option -Ont to switch it off).

Example
  if (i = 0)  // should be 'i == 0';

  
Tips

If it is a programming error, correct the statement.