Replies: 2 comments
-
|
The intent of this test is to exercise some error handling in CppUTest's memory leak detection feature. However, as far as I can tell, |
Beta Was this translation helpful? Give feedback.
0 replies
-
|
Ok ok, I merged the open PR. |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
-
The generated warning makes sense, what doesn't make sense to me is why even have the line
delete (char*) 0x1234678;
when the following line is,
FAIL("Should never come here"); // LCOV_EXCL_LINE
Isn't that adequate for the test purposes?
Does the test really need to delete an arbitrary address?
I'm raising the discussion because I don't like to see warnings in the build and that is the only one I am getting.
Beta Was this translation helpful? Give feedback.
All reactions