From f3cb7097cf69048ad88dfb26d417e2f76b9c827a Mon Sep 17 00:00:00 2001 From: diego Date: Mon, 10 Sep 2007 12:51:26 +0000 Subject: warning fixes: ext.c: In function 'HeapAlloc': ext.c:86: warning: unused variable 'i' ext.c: In function 'VirtualAlloc': ext.c:440: warning: unused variable 'fd' git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@24403 b3059339-0415-0410-9bf9-f77b7e298cf2 --- loader/ext.c | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) (limited to 'loader') diff --git a/loader/ext.c b/loader/ext.c index 5998bc058f..7c47f54a96 100644 --- a/loader/ext.c +++ b/loader/ext.c @@ -83,7 +83,7 @@ HANDLE WINAPI GetProcessHeap(void) LPVOID WINAPI HeapAlloc(HANDLE heap, DWORD flags, DWORD size) { - static int i = 5; + //static int i = 5; void* m = (flags & 0x8) ? calloc(size, 1) : malloc(size); //printf("HeapAlloc %p %d (%d)\n", m, size, flags); //if (--i == 0) @@ -437,7 +437,6 @@ static virt_alloc* vm=0; LPVOID WINAPI VirtualAlloc(LPVOID address, DWORD size, DWORD type, DWORD protection) { void* answer; - int fd; long pgsz; //printf("VirtualAlloc(0x%08X, %u, 0x%08X, 0x%08X)\n", (unsigned)address, size, type, protection); -- cgit v1.2.3