changeset 24383:d7f252c2e3a6

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'
author diego
date Mon, 10 Sep 2007 12:51:26 +0000
parents ea192b86100e
children 16d5efcad1f7
files loader/ext.c
diffstat 1 files changed, 1 insertions(+), 2 deletions(-) [+]
line wrap: on
line diff
--- 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);