mirror of
https://github.com/jemalloc/jemalloc.git
synced 2026-06-23 12:25:50 +03:00
Fix: assertion could abort on past failures
This commit is contained in:
parent
b30a5c2f90
commit
ccdc70a5ce
2 changed files with 55 additions and 48 deletions
|
|
@ -233,11 +233,6 @@ p_test_fail(const char *prefix, const char *message) {
|
|||
test_status = test_status_fail;
|
||||
}
|
||||
|
||||
bool
|
||||
p_test_failed() {
|
||||
return test_status == test_status_fail;
|
||||
}
|
||||
|
||||
void
|
||||
strncpy_cond(void *dst, const char *src, bool cond) {
|
||||
if (cond) {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue