changeset 24382:ea192b86100e

warning fixes: module.c: In function 'MODULE_DllProcessAttach': module.c:217: warning: unused variable 'i' module.c: In function 'MODULE_DllProcessDetach': module.c:278: warning: unused variable 'l' module.c: In function 'MODULE_LoadLibraryExA': module.c:305: warning: unused variable 'i' module.c: In function 'report_func_ret': module.c:948: warning: unused variable 'i'
author diego
date Mon, 10 Sep 2007 11:41:26 +0000
parents be23b48b5cdd
children d7f252c2e3a6
files loader/module.c
diffstat 1 files changed, 3 insertions(+), 4 deletions(-) [+]
line wrap: on
line diff
--- a/loader/module.c	Mon Sep 10 11:34:58 2007 +0000
+++ b/loader/module.c	Mon Sep 10 11:41:26 2007 +0000
@@ -214,7 +214,7 @@
 static WIN_BOOL MODULE_DllProcessAttach( WINE_MODREF *wm, LPVOID lpReserved )
 {
     WIN_BOOL retv = TRUE;
-    int i;
+    //int i;
     assert( wm );
 
     /* prevent infinite recursion in case of cyclical dependencies */
@@ -275,7 +275,7 @@
 static void MODULE_DllProcessDetach( WINE_MODREF* wm, WIN_BOOL bForceDetach, LPVOID lpReserved )
 {
     //    WINE_MODREF *wm=local_wm;
-    modref_list* l = local_wm;
+    //modref_list* l = local_wm;
     wm->flags &= ~WINE_MODREF_PROCESS_ATTACHED;
     MODULE_InitDll( wm, DLL_PROCESS_DETACH, lpReserved );
 /*    while (l)
@@ -302,7 +302,6 @@
 {
 	DWORD err = GetLastError();
 	WINE_MODREF *pwm;
-	int i;
 //	module_loadorder_t *plo;
 
         SetLastError( ERROR_FILE_NOT_FOUND );
@@ -945,7 +944,7 @@
 
 static int report_func_ret(void *stack_base, int stack_size, reg386_t *reg, uint32_t *flags)
 {
-  int i;
+  //int i;
   short err;
 
   // restore ret addr: