Skip to content

Latest commit

 

History

History
27 lines (22 loc) · 722 Bytes

compiler-warning-level-3-c4390.md

File metadata and controls

27 lines (22 loc) · 722 Bytes
description title ms.date f1_keywords helpviewer_keywords ms.assetid
Learn more about: Compiler Warning (level 3) C4390
Compiler Warning (level 3) C4390
11/04/2016
C4390
C4390
c95c2f1b-9bce-4b1f-a80c-565d4cde0b1e

Compiler Warning (level 3) C4390

';' : empty controlled statement found; is this the intent?

A semicolon was found after a control statement that contains no instructions.

If you get C4390 because of a macro, you should use the warning pragma to disable C4390 in the module containing the macro.

The following sample generates C4390:

// C4390.cpp
// compile with: /W3
int main() {
   int i = 0;
   if (i);   // C4390
      i++;
}