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:
parent
e3c1e14bb0
commit
d778f67265
|
@ -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"
|
||||
|
|
Loading…
Reference in New Issue