From d803eb57379cc214baf969d0eb6f06177f5c1ffc Mon Sep 17 00:00:00 2001 From: =?utf8?q?Kim=20Nguy=E1=BB=85n?= Date: Wed, 29 Feb 2012 11:04:06 +0100 Subject: [PATCH] Silence compiler warning. --- HeapProfiler.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/HeapProfiler.cpp b/HeapProfiler.cpp index 7091a53..63342a4 100644 --- a/HeapProfiler.cpp +++ b/HeapProfiler.cpp @@ -27,7 +27,7 @@ unsigned long HeapProfiler::consumption = 0, HeapProfiler::maxConsumption = 0; AllocatedBlocks HeapProfiler::blocks; // Override initialising hook from the C library. -void (* volatile __malloc_initialize_hook) (void) = HeapProfiler::InitHooks; +//void (* volatile __malloc_initialize_hook) (void) = HeapProfiler::InitHooks; // Variables to save original hooks. void *(*HeapProfiler::old_malloc_hook)(size_t, const void *); -- 2.17.1