C5906: Subtraction with zero

[WARNING]

Description

The Compiler has detected a subtraction with zero which is optimized. This message may be generated during tree optimizations (Option -Ont to switch it off).

Example
  i = j-(j-j);  // optimized to i = j;

  
Tips

If it is a programming error, correct the statement.