diff --git a/core/front/tiny_heap_v2.h b/core/front/tiny_heap_v2.h index 42cca61f..43b5bee8 100644 --- a/core/front/tiny_heap_v2.h +++ b/core/front/tiny_heap_v2.h @@ -114,6 +114,7 @@ static inline int tiny_heap_v2_try_push(int class_idx, void* base) { mag->items[mag->top++] = base; // DEBUG: Log push events +#if !HAKMEM_BUILD_RELEASE static int g_push_dbg = -1; if (g_push_dbg == -1) { const char* e = getenv("HAKMEM_TINY_HEAP_V2_DEBUG"); @@ -126,6 +127,7 @@ static inline int tiny_heap_v2_try_push(int class_idx, void* base) { class_idx, g_push_count[class_idx]++, base, mag->top); } } +#endif return 1; // Success }