Fix sytax error in uninitVarArray(). This also causes the test to fail, so changing it as TODO.

See http://sourceforge.net/apps/trac/cppcheck/ticket/613
This commit is contained in:
Reijo Tomperi 2009-08-26 00:42:07 +03:00
parent e3c1e14bb0
commit d778f67265
1 changed files with 2 additions and 2 deletions

View File

@ -408,13 +408,13 @@ private:
checkUninitVar("class John\n"
"{\n"
"public:\n"
" John() {John::name[0] = '\0';}\n"
" John() {John::name[0] = '\\0';}\n"
"\n"
"private:\n"
" char name[255];\n"
"};\n");
ASSERT_EQUALS("", errout.str());
TODO_ASSERT_EQUALS("", errout.str());
checkUninitVar("class John\n"
"{\n"