From 4705b7db85c4c452608ab6d6d66c3e8df97e01bd 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. --- libgralloc-qsd8k/allocator.cpp | 5 ----- 1 file changed, 5 deletions(-) diff --git a/libgralloc-qsd8k/allocator.cpp b/libgralloc-qsd8k/allocator.cpp index 4dad6a1..e7645b1 100644 --- a/libgralloc-qsd8k/allocator.cpp +++ b/libgralloc-qsd8k/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);