Uninitialized variables; Remove TODO comment in test, test is working as it should now.

This commit is contained in:
Daniel Marjamäki 2021-05-23 14:57:43 +02:00
parent cbbd7f0bd0
commit f968761382
1 changed files with 1 additions and 1 deletions

View File

@ -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;};