summaryrefslogtreecommitdiffstats
path: root/loader/win32.c
diff options
context:
space:
mode:
authordiego <diego@b3059339-0415-0410-9bf9-f77b7e298cf2>2008-01-23 11:16:18 +0000
committerdiego <diego@b3059339-0415-0410-9bf9-f77b7e298cf2>2008-01-23 11:16:18 +0000
commite68f2215aaa1d90e988348557b2234a322b16f0d (patch)
tree9f64225d8b8bb8431c3d01fddc24b3336c2e729b /loader/win32.c
parentd44926d6304646ace2b61a6e32b8cffd25779d71 (diff)
downloadmpv-e68f2215aaa1d90e988348557b2234a322b16f0d.tar.bz2
mpv-e68f2215aaa1d90e988348557b2234a322b16f0d.tar.xz
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
Diffstat (limited to 'loader/win32.c')
-rw-r--r--loader/win32.c6
1 files 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