[MPlayer-cvslog] r25834 - trunk/loader/win32.c

diego subversion at mplayerhq.hu
Wed Jan 23 12:16:18 CET 2008


Author: diego
Date: Wed Jan 23 12:16:18 2008
New Revision: 25834

Log:
Disable unused function test_heap, fixes the warning:
win32.c:255: warning: 'test_heap' defined but not used


Modified:
   trunk/loader/win32.c

Modified: trunk/loader/win32.c
==============================================================================
--- trunk/loader/win32.c	(original)
+++ trunk/loader/win32.c	Wed Jan 23 12:16:18 2008
@@ -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



More information about the MPlayer-cvslog mailing list