Uninitialized variables; Remove TODO comment in test, test is working as it should now.
This commit is contained in:
parent
cbbd7f0bd0
commit
f968761382
|
@ -3159,7 +3159,7 @@ private:
|
||||||
" char now0;\n"
|
" char now0;\n"
|
||||||
" strcmp(&now0, sth);\n"
|
" strcmp(&now0, sth);\n"
|
||||||
"}", "test.c");
|
"}", "test.c");
|
||||||
// TODO ASSERT_EQUALS("[test.c:3]: (error) Uninitialized variable: now0\n", errout.str());
|
ASSERT_EQUALS("[test.c:3]: (error) Uninitialized variable: now0\n", errout.str());
|
||||||
|
|
||||||
// #2775 - uninitialized struct pointer in subfunction
|
// #2775 - uninitialized struct pointer in subfunction
|
||||||
// extracttests.start: struct Fred {int x;};
|
// extracttests.start: struct Fred {int x;};
|
||||||
|
|
Loading…
Reference in New Issue