1. Summary
  2. Files
  3. Support
  4. Report Spam
  5. Create account
  6. Log in

IncompleteStatement

From cppcheck

Revision as of 07:32, 12 January 2011 by Gerundt (Talk | contribs)
(diff) ← Older revision | Current revision (diff) | Newer revision → (diff)
Jump to: navigation, search

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.

Personal tools