# HG changeset patch # User diego # Date 1201086978 0 # Node ID 65e036ab9d8387fec91ed84a9405a8b5babbcedd # Parent 953318dc3c7c59b7517f52ced0af5684237f356c Disable unused function test_heap, fixes the warning: win32.c:255: warning: 'test_heap' defined but not used diff -r 953318dc3c7c -r 65e036ab9d83 loader/win32.c --- a/loader/win32.c Wed Jan 23 11:15:06 2008 +0000 +++ b/loader/win32.c Wed Jan 23 11:16:18 2008 +0000 @@ -246,11 +246,12 @@ // 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 @@ printf("Free heap corruption at address %d\n", offset); } } +#endif #undef MEMORY_DEBUG #ifdef MEMORY_DEBUG