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

diego subversion at mplayerhq.hu
Mon Sep 10 13:34:59 CEST 2007


Author: diego
Date: Mon Sep 10 13:34:58 2007
New Revision: 24401

Log:
warning fixes:
pe_image.c: In function 'fixup_imports':
pe_image.c:290: warning: unused variable 'wmImp'
pe_image.c: In function 'PE_LoadImage':
pe_image.c:445: warning: unused variable 'bhfi'
pe_image.c: In function 'PE_CreateModule':
pe_image.c:706: warning: unused variable 'result'


Modified:
   trunk/loader/pe_image.c

Modified: trunk/loader/pe_image.c
==============================================================================
--- trunk/loader/pe_image.c	(original)
+++ trunk/loader/pe_image.c	Mon Sep 10 13:34:58 2007
@@ -287,7 +287,6 @@ static DWORD fixup_imports( WINE_MODREF 
      */
  
     for (i = 0, pe_imp = pem->pe_import; pe_imp->Name ; pe_imp++) {
-    	WINE_MODREF		*wmImp;
 	IMAGE_IMPORT_BY_NAME	*pe_name;
 	PIMAGE_THUNK_DATA	import_list,thunk_list;
  	char			*name = (char *) RVA(pe_imp->Name);
@@ -442,7 +441,7 @@ HMODULE PE_LoadImage( int handle, LPCSTR
     IMAGE_NT_HEADERS *nt;
     IMAGE_SECTION_HEADER *pe_sec;
     IMAGE_DATA_DIRECTORY *dir;
-    BY_HANDLE_FILE_INFORMATION bhfi;
+//    BY_HANDLE_FILE_INFORMATION bhfi;
     int	i, rawsize, lowest_va, vma_size, file_size = 0;
     DWORD load_addr = 0, aoep, reloc = 0;
 //    struct get_read_fd_request *req = get_req_buffer();
@@ -703,7 +702,6 @@ WINE_MODREF *PE_CreateModule( HMODULE hM
     IMAGE_EXPORT_DIRECTORY *pe_export = NULL;
     IMAGE_RESOURCE_DIRECTORY *pe_resource = NULL;
     WINE_MODREF *wm;
-    int	result;
 
 
     



More information about the MPlayer-cvslog mailing list