diff options
author | diego <diego@b3059339-0415-0410-9bf9-f77b7e298cf2> | 2007-09-10 12:51:26 +0000 |
---|---|---|
committer | diego <diego@b3059339-0415-0410-9bf9-f77b7e298cf2> | 2007-09-10 12:51:26 +0000 |
commit | f3cb7097cf69048ad88dfb26d417e2f76b9c827a (patch) | |
tree | e65f5439fbeb08656ebd52edcb40512de74b7b80 /loader | |
parent | ffe4478efebdda10dee0f9d8664c76f2b77c5fa4 (diff) | |
download | mpv-f3cb7097cf69048ad88dfb26d417e2f76b9c827a.tar.bz2 mpv-f3cb7097cf69048ad88dfb26d417e2f76b9c827a.tar.xz |
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
Diffstat (limited to 'loader')
-rw-r--r-- | loader/ext.c | 3 |
1 files changed, 1 insertions, 2 deletions
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); |