[MPlayer-cvslog] r24403 - trunk/loader/ext.c
diego
subversion at mplayerhq.hu
Mon Sep 10 14:51:26 CEST 2007
Author: diego
Date: Mon Sep 10 14:51:26 2007
New Revision: 24403
Log:
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'
Modified:
trunk/loader/ext.c
Modified: trunk/loader/ext.c
==============================================================================
--- trunk/loader/ext.c (original)
+++ trunk/loader/ext.c Mon Sep 10 14:51:26 2007
@@ -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);
More information about the MPlayer-cvslog
mailing list