This commit is contained in:
Daniel Marjamäki 2021-10-03 18:47:21 +02:00
parent f3d9755e65
commit 6a1b7f53ce
1 changed files with 1 additions and 2 deletions

View File

@ -5044,8 +5044,7 @@ private:
" c->x = 42;\n" " c->x = 42;\n"
" return c->x;\n" " return c->x;\n"
"}"); "}");
ASSERT_EQUALS("[test.cpp:6]: (error) Uninitialized variable: c\n" ASSERT_EQUALS("[test.cpp:6]: (error) Uninitialized variable: c\n",
"[test.cpp:7]: (error) Uninitialized variable: c\n",
errout.str()); errout.str());
valueFlowUninit("struct A {\n" valueFlowUninit("struct A {\n"