Skip to content

Commit

Permalink
Undo
Browse files Browse the repository at this point in the history
  • Loading branch information
chrchr-github committed Oct 5, 2023
1 parent 2ad9dcb commit 7d0a35c
Showing 1 changed file with 1 addition and 3 deletions.
4 changes: 1 addition & 3 deletions test/testnullpointer.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -2365,9 +2365,7 @@ class TestNullPointer : public TestFixture {
" if (!flag1 && flag2)\n"
" (*ptr)++;\n"
"}\n");
TODO_ASSERT_EQUALS("[test.cpp:4] -> [test.cpp:10]: (warning) Either the condition 'ptr!=nullptr' is redundant or there is possible null pointer dereference: ptr.\n",
"",
errout.str());
ASSERT_EQUALS("[test.cpp:4] -> [test.cpp:10]: (warning) Either the condition 'ptr!=nullptr' is redundant or there is possible null pointer dereference: ptr.\n", errout.str());
}

void nullpointer74() {
Expand Down

0 comments on commit 7d0a35c

Please sign in to comment.