Compiler Warning (level 3) C4390

Visual Studio 6.0

';' : 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
Show: