diff --git a/main.cpp b/main.cpp index ab6520fe9..5775a0501 100644 --- a/main.cpp +++ b/main.cpp @@ -114,14 +114,16 @@ static void CppCheck(const char FileName[]) CheckIfAssignment(); // Check for case without break - CheckCaseWithoutBreak(); + // Disabled because it generates many false positives + // CheckCaseWithoutBreak(); // Check that all class constructors are ok. // Temporarily inactivated to avoid any false positives CheckConstructors(); // Dangerous usage of strtok - WarningStrTok(); + // Disabled because it generates false positives + //WarningStrTok(); } diff --git a/testcasebreak/err.msg b/testcasebreak/err.msg deleted file mode 100644 index e69de29bb..000000000 diff --git a/testcasebreak/testcasebreak.cpp b/testcasebreak/testcasebreak.cpp deleted file mode 100644 index e7b60e09f..000000000 --- a/testcasebreak/testcasebreak.cpp +++ /dev/null @@ -1,13 +0,0 @@ - - - -void f() -{ - - switch (a) - { - case 1: - case 2: - break; - } -} \ No newline at end of file diff --git a/testcasebreak/warn.msg b/testcasebreak/warn.msg deleted file mode 100644 index f4d9dd0c4..000000000 --- a/testcasebreak/warn.msg +++ /dev/null @@ -1 +0,0 @@ -[testcasebreak\testcasebreak.cpp:9]: Found 'case' without 'break'. diff --git a/testfunc5/err.msg b/testfunc5/err.msg deleted file mode 100644 index e69de29bb..000000000 diff --git a/testfunc5/testfunc5.cpp b/testfunc5/testfunc5.cpp deleted file mode 100644 index c566a7900..000000000 --- a/testfunc5/testfunc5.cpp +++ /dev/null @@ -1,13 +0,0 @@ - - - -void f1() -{ - strtok(str,"abc"); -} - -void f2() -{ - strtok(str,"abc"); - f1(); -} \ No newline at end of file diff --git a/testfunc5/warn.msg b/testfunc5/warn.msg deleted file mode 100644 index ca8eb5ddd..000000000 --- a/testfunc5/warn.msg +++ /dev/null @@ -1 +0,0 @@ -[testfunc5\testfunc5.cpp:12]: Possible bug. Both 'f2' and 'f1' uses strtok.