changeset 24381:be23b48b5cdd

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'
author diego
date Mon, 10 Sep 2007 11:34:58 +0000
parents 542822a1cc57
children ea192b86100e
files loader/pe_image.c
diffstat 1 files changed, 1 insertions(+), 3 deletions(-) [+]
line wrap: on
line diff
--- a/loader/pe_image.c	Mon Sep 10 11:31:51 2007 +0000
+++ b/loader/pe_image.c	Mon Sep 10 11:34:58 2007 +0000
@@ -287,7 +287,6 @@
      */
  
     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 @@
     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 @@
     IMAGE_EXPORT_DIRECTORY *pe_export = NULL;
     IMAGE_RESOURCE_DIRECTORY *pe_resource = NULL;
     WINE_MODREF *wm;
-    int	result;