Remove call to dump_l.
This fail to compile without NDEBUG and the following log statement does something similar.
This commit is contained in:
parent
4016d6bc35
commit
baf99300f7
1 changed files with 0 additions and 5 deletions
|
@ -153,11 +153,6 @@ SimpleBestFitAllocator::chunk_t* SimpleBestFitAllocator::dealloc(size_t start)
|
|||
cur = n;
|
||||
} while (cur && cur->free);
|
||||
|
||||
#ifndef NDEBUG
|
||||
if (!freed->free) {
|
||||
dump_l("dealloc (!freed->free)");
|
||||
}
|
||||
#endif
|
||||
LOG_FATAL_IF(!freed->free,
|
||||
"freed block at offset 0x%08lX of size 0x%08lX is not free!",
|
||||
freed->start * kMemoryAlign, freed->size * kMemoryAlign);
|
||||
|
|
Loading…
Reference in a new issue