From e68f2215aaa1d90e988348557b2234a322b16f0d Mon Sep 17 00:00:00 2001 From: diego Date: Wed, 23 Jan 2008 11:16:18 +0000 Subject: [PATCH] Disable unused function test_heap, fixes the warning: win32.c:255: warning: 'test_heap' defined but not used git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@25834 b3059339-0415-0410-9bf9-f77b7e298cf2 --- loader/win32.c | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/loader/win32.c b/loader/win32.c index 3086f97582..48242aff8f 100644 --- a/loader/win32.c +++ b/loader/win32.c @@ -246,11 +246,12 @@ typedef struct th_list_t{ // have to be cleared by GARBAGE COLLECTOR -static unsigned char* heap=NULL; -static int heap_counter=0; +//static unsigned char* heap=NULL; +//static int heap_counter=0; static tls_t* g_tls=NULL; static th_list* list=NULL; +#if 0 static void test_heap(void) { int offset=0; @@ -271,6 +272,7 @@ static void test_heap(void) printf("Free heap corruption at address %d\n", offset); } } +#endif #undef MEMORY_DEBUG #ifdef MEMORY_DEBUG