[MPlayer-cvslog] r24408 - trunk/loader/elfdll.c
diego
subversion at mplayerhq.hu
Mon Sep 10 15:10:44 CEST 2007
Author: diego
Date: Mon Sep 10 15:10:44 2007
New Revision: 24408
Log:
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'
Modified:
trunk/loader/elfdll.c
Modified: trunk/loader/elfdll.c
==============================================================================
--- trunk/loader/elfdll.c (original)
+++ trunk/loader/elfdll.c Mon Sep 10 15:10:44 2007
@@ -171,10 +171,10 @@ static LPSTR get_sobasename(LPCSTR path,
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(
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;
More information about the MPlayer-cvslog
mailing list