Menu

IncompleteStatement

Daniel Marjamäki

Incomplete statement

The following code will compile without warnings by all compilers I've tested:

void foo()
{
    "abc";
    123;
}

Therefore a check has been added that detects such statements.


Related

Wiki: ListOfChecks