Mercurial > mplayer.hg
changeset 24388:7cfc461fa31f
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'
author | diego |
---|---|
date | Mon, 10 Sep 2007 13:10:44 +0000 |
parents | 13dcc81c0013 |
children | edbf07d80f62 |
files | loader/elfdll.c |
diffstat | 1 files changed, 4 insertions(+), 4 deletions(-) [+] |
line wrap: on
line diff
--- a/loader/elfdll.c Mon Sep 10 13:08:46 2007 +0000 +++ b/loader/elfdll.c Mon Sep 10 13:10:44 2007 +0000 @@ -171,10 +171,10 @@ 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 @@ 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;