[MPlayer-cvslog] r24402 - trunk/loader/module.c

diego subversion at mplayerhq.hu
Mon Sep 10 13:41:27 CEST 2007


Author: diego
Date: Mon Sep 10 13:41:26 2007
New Revision: 24402

Log:
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'


Modified:
   trunk/loader/module.c

Modified: trunk/loader/module.c
==============================================================================
--- trunk/loader/module.c	(original)
+++ trunk/loader/module.c	Mon Sep 10 13:41:26 2007
@@ -214,7 +214,7 @@ static WIN_BOOL MODULE_InitDll( WINE_MOD
 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 WIN_BOOL MODULE_DllProcessAttach(
 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 @@ static WINE_MODREF *MODULE_LoadLibraryEx
 {
 	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(void *stack_base,
 
 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:



More information about the MPlayer-cvslog mailing list