changeset 25806:65e036ab9d83

Disable unused function test_heap, fixes the warning: win32.c:255: warning: 'test_heap' defined but not used
author diego
date Wed, 23 Jan 2008 11:16:18 +0000
parents 953318dc3c7c
children 3cd1d60e7225
files loader/win32.c
diffstat 1 files changed, 4 insertions(+), 2 deletions(-) [+]
line wrap: on
line diff
--- 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