[MPlayer-cvslog] r25832 - trunk/loader/pe_image.c

diego subversion at mplayerhq.hu
Wed Jan 23 12:12:47 CET 2008


Author: diego
Date: Wed Jan 23 12:12:47 2008
New Revision: 25832

Log:
Remove unused function fixup_address, fixes the warning:
pe_image.c:957: warning: 'fixup_address' defined but not used


Modified:
   trunk/loader/pe_image.c

Modified: trunk/loader/pe_image.c
==============================================================================
--- trunk/loader/pe_image.c	(original)
+++ trunk/loader/pe_image.c	Wed Jan 23 12:12:47 2008
@@ -952,15 +952,3 @@ WIN_BOOL PE_InitDLL( WINE_MODREF *wm, DW
 
     return retv;
 }
-
-static LPVOID
-fixup_address(PIMAGE_OPTIONAL_HEADER opt,int delta,LPVOID addr) {
-	if (	((DWORD)addr>opt->ImageBase) &&
-		((DWORD)addr<opt->ImageBase+opt->SizeOfImage)
-	)
-		
-		return (LPVOID)(((DWORD)addr)+delta);
-	else
-		
-		return addr;
-}



More information about the MPlayer-cvslog mailing list