We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 243ae08 commit f877784Copy full SHA for f877784
1 file changed
test/testuninitvar.cpp
@@ -2164,7 +2164,7 @@ class TestUninitVar : public TestFixture {
2164
" return p;\n"
2165
"}\n");
2166
ASSERT_EQUALS("[test.cpp:5:9]: (error) Memory is allocated but not initialized: *p [uninitdata]\n", errout_str());
2167
-
+
2168
checkUninitVar("char* f(size_t nBytes, size_t nAlign) {\n" // #14485
2169
" char* p = reinterpret_cast<char*>(malloc(nBytes));\n"
2170
" if ((uintptr_t)p % nAlign != 0) {}\n"
0 commit comments