Compiler Warning (level 3) C4390

';' : empty controlled statement found; is this what was intended?"

This warning will be issued when a semicolon is found after a control statement that contains no instructions.

For example, this warning catches cases like:

if (condition);      // note extra semi-colon
      statement;      // intended to execute only if <cond> is true