diff --git a/cfg/std.cfg b/cfg/std.cfg index e3f1381fe..392cedc78 100644 --- a/cfg/std.cfg +++ b/cfg/std.cfg @@ -1,6 +1,7 @@ true + true free diff --git a/test/testnullpointer.cpp b/test/testnullpointer.cpp index 1e1ecf532..b47b6de3a 100644 --- a/test/testnullpointer.cpp +++ b/test/testnullpointer.cpp @@ -1379,7 +1379,7 @@ private: ASSERT_EQUALS("", errout.str()); check(code, true); - ASSERT_EQUALS("[test.cpp:5] -> [test.cpp:2]: (warning, inconclusive) Possible null pointer dereference: p - otherwise it is redundant to check it against null.\n", errout.str()); + ASSERT_EQUALS("", errout.str()); } check("void foo(char *p) {\n"