From 0865edbc5d3761c76cb954ebcf07779cd9eef6fc Mon Sep 17 00:00:00 2001 From: diego Date: Mon, 10 Sep 2007 13:10:44 +0000 Subject: [PATCH] warning fixes: elfdll.c: In function 'ELFDLL_CreateModref': elfdll.c:177: warning: unused variable 'len' elfdll.c:175: warning: unused variable 'pe_import' elfdll.c:174: warning: unused variable 'dir' elfdll.c: In function 'ELFDLL_LoadLibraryExA': elfdll.c:244: warning: unused variable 'image' git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@24408 b3059339-0415-0410-9bf9-f77b7e298cf2 --- loader/elfdll.c | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/loader/elfdll.c b/loader/elfdll.c index 457219e86c..55c024f0df 100644 --- a/loader/elfdll.c +++ b/loader/elfdll.c @@ -171,10 +171,10 @@ static LPSTR get_sobasename(LPCSTR path, LPSTR name) static WINE_MODREF *ELFDLL_CreateModref(HMODULE hModule, LPCSTR path) { // IMAGE_NT_HEADERS *nt = PE_HEADER(hModule); - IMAGE_DATA_DIRECTORY *dir; - IMAGE_IMPORT_DESCRIPTOR *pe_import = NULL; +// IMAGE_DATA_DIRECTORY *dir; +// IMAGE_IMPORT_DESCRIPTOR *pe_import = NULL; WINE_MODREF *wm; - int len; +// int len; HANDLE procheap = GetProcessHeap(); wm = (WINE_MODREF *)HeapAlloc(procheap, HEAP_ZERO_MEMORY, sizeof(*wm)); @@ -241,7 +241,7 @@ static WINE_MODREF *ELFDLL_CreateModref(HMODULE hModule, LPCSTR path) WINE_MODREF *ELFDLL_LoadLibraryExA(LPCSTR path, DWORD flags) { LPVOID dlhandle; - struct elfdll_image *image; +// struct elfdll_image *image; char name[129]; char soname[129]; WINE_MODREF *wm;