mirror of
https://github.com/mpv-player/mpv.git
synced 2024-09-20 20:03:10 +02:00
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
This commit is contained in:
parent
d44926d630
commit
e68f2215aa
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user