diff --git a/testcond1/err.msg b/testcond1/err.msg deleted file mode 100644 index e69de29bb..000000000 diff --git a/testcond1/testcond1.cpp b/testcond1/testcond1.cpp deleted file mode 100644 index 9cc2126d4..000000000 --- a/testcond1/testcond1.cpp +++ /dev/null @@ -1,10 +0,0 @@ - - -void f() -{ - if (a=b) - { - - } -} - diff --git a/testfunc2/err.msg b/testfunc2/err.msg deleted file mode 100644 index e69de29bb..000000000 diff --git a/testfunc2/testfunc2.cpp b/testfunc2/testfunc2.cpp deleted file mode 100644 index 69d0e23ab..000000000 --- a/testfunc2/testfunc2.cpp +++ /dev/null @@ -1,8 +0,0 @@ - -void foo(int i) -{ - if (ab) - { - i = 4; - } -} diff --git a/testfunc3/err.msg b/testfunc3/err.msg deleted file mode 100644 index e69de29bb..000000000 diff --git a/testfunc3/testfunc3.cpp b/testfunc3/testfunc3.cpp deleted file mode 100644 index 337ea3c27..000000000 --- a/testfunc3/testfunc3.cpp +++ /dev/null @@ -1,28 +0,0 @@ - - - - - - - -class ITEM -{ -public: - void CountIO( int &noIn, int &noOut ) const; -}; - - -void ITEM::CountIO( int &noIn, int &noOut ) const -{ - noIn = 0; - noOut = 0; -} - - - - - - - - - diff --git a/testfunc4/err.msg b/testfunc4/err.msg deleted file mode 100644 index 4bcb98dcf..000000000 --- a/testfunc4/err.msg +++ /dev/null @@ -1 +0,0 @@ -[testfunc4\testfunc4.cpp:5]: Invalid radix in call to strtol or strtoul. Must be 0 or 2-36 diff --git a/testfunc4/testfunc4.cpp b/testfunc4/testfunc4.cpp deleted file mode 100644 index 5ef3410d5..000000000 --- a/testfunc4/testfunc4.cpp +++ /dev/null @@ -1,7 +0,0 @@ - -void f() -{ - // The parameter "1" is invalid! - strtoul(str, NULL, 1); -} - diff --git a/testfunc6/err.msg b/testfunc6/err.msg deleted file mode 100644 index e69de29bb..000000000 diff --git a/testfunc6/testfunc6.cpp b/testfunc6/testfunc6.cpp deleted file mode 100644 index 9e5c65a35..000000000 --- a/testfunc6/testfunc6.cpp +++ /dev/null @@ -1,8 +0,0 @@ - - - -void f() -{ - if (condition) - flag = true; -} \ No newline at end of file diff --git a/testif1/err.msg b/testif1/err.msg deleted file mode 100644 index e69de29bb..000000000 diff --git a/testif1/testif1.cpp b/testif1/testif1.cpp deleted file mode 100644 index a848e85a0..000000000 --- a/testif1/testif1.cpp +++ /dev/null @@ -1,7 +0,0 @@ - - -void f() -{ - if (ab); - cd = ef; -} diff --git a/testif2/err.msg b/testif2/err.msg deleted file mode 100644 index e69de29bb..000000000 diff --git a/testif2/testif2.cpp b/testif2/testif2.cpp deleted file mode 100644 index c9550ccc3..000000000 --- a/testif2/testif2.cpp +++ /dev/null @@ -1,10 +0,0 @@ - - -void f() -{ - a = b; - if ( a != b ) - { - // Something is very wrong - } -} \ No newline at end of file diff --git a/testif3/err.msg b/testif3/err.msg deleted file mode 100644 index e69de29bb..000000000 diff --git a/testif3/testif3.cpp b/testif3/testif3.cpp deleted file mode 100644 index 169b567eb..000000000 --- a/testif3/testif3.cpp +++ /dev/null @@ -1,11 +0,0 @@ - - -void f() -{ - a = b; -#endif - if (a == b) - { - - } -} diff --git a/testif4/err.msg b/testif4/err.msg deleted file mode 100644 index e69de29bb..000000000 diff --git a/testif4/testif4.cpp b/testif4/testif4.cpp deleted file mode 100644 index 07c35aef3..000000000 --- a/testif4/testif4.cpp +++ /dev/null @@ -1,14 +0,0 @@ - - -void f() -{ - doc = cur->doc; - if (doc != NULL) - dict = doc->dict; - else - dict = NULL; - if (dict != NULL) { - - } - -} \ No newline at end of file diff --git a/testif5/err.msg b/testif5/err.msg deleted file mode 100644 index e69de29bb..000000000 diff --git a/testif5/testif5.cpp b/testif5/testif5.cpp deleted file mode 100644 index e1d8c62b2..000000000 --- a/testif5/testif5.cpp +++ /dev/null @@ -1,9 +0,0 @@ - - -void f() -{ - if ( strcmp(str, "abc") == 0 ) - abc = true; - else - abc = false; -} \ No newline at end of file diff --git a/updateall.bat b/updateall.bat deleted file mode 100644 index 643fb79cb..000000000 --- a/updateall.bat +++ /dev/null @@ -1,8 +0,0 @@ - -@ECHO OFF - -FOR /D %%s IN (test*) DO ( - cppcheck %%s\%%s.cpp 2> %%s\err.msg -) - -