C5900: Result is zero

[WARNING]

Description

The Compiler has detected operation which results in zero and is optimized. This message may be generated during tree optimizations (Option -Ont to switch it off).

Example
  i = j-j;  // optimized to i = 0;

  
Tips

If it is a programming error, correct the statement.