From 99f6e19f7118d5e3de0558e25392c8398da03ef3 Mon Sep 17 00:00:00 2001 From: Patrick Scott Date: Thu, 29 Oct 2009 08:35:22 -0400 Subject: [PATCH] Remove calls to dump_l. This fails to compile without NDEBUG and the log statement is accomplishing the same thing. --- allocator.cpp | 5 ----- 1 file changed, 5 deletions(-) diff --git a/allocator.cpp b/allocator.cpp index 4dad6a1..e7645b1 100644 --- a/allocator.cpp +++ b/allocator.cpp @@ -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);