# HG changeset patch # User diego # Date 1189428686 0 # Node ID d7f252c2e3a655e5d4530756073c06ba47b5d346 # Parent ea192b86100e91c4ddf85ef99e1f28c950908fc7 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' diff -r ea192b86100e -r d7f252c2e3a6 loader/ext.c --- a/loader/ext.c Mon Sep 10 11:41:26 2007 +0000 +++ b/loader/ext.c Mon Sep 10 12:51:26 2007 +0000 @@ -83,7 +83,7 @@ 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 @@ 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);