C2900: Constant condition found, removing loop

[WARNING]

Description

A constant loop condition has been found and the loop is never executed. No code is produced for such a loop. Normally, such a constant loop condition may be a programming error.

Example
  for(i=10; i<9; i--)

  
  Because the loop condition 'i<9' never becomes true, the 
  loop is removed by the compiler and only the code for the 
  initialization 'i=10' is generated.

  
Tips

If it is a programming error, correct the loop condition.

See also