diff options
Diffstat (limited to 'src')
-rw-r--r-- | src/libw32dll/DirectShow/DS_Filter.c | 2 | ||||
-rw-r--r-- | src/libw32dll/wine/pe_image.c | 6 | ||||
-rw-r--r-- | src/libw32dll/wine/registry.c | 7 | ||||
-rw-r--r-- | src/libw32dll/wine/vfl.c | 2 | ||||
-rw-r--r-- | src/libw32dll/wine/win32.c | 20 |
5 files changed, 20 insertions, 17 deletions
diff --git a/src/libw32dll/DirectShow/DS_Filter.c b/src/libw32dll/DirectShow/DS_Filter.c index 2ecf1d889..09b49532b 100644 --- a/src/libw32dll/DirectShow/DS_Filter.c +++ b/src/libw32dll/DirectShow/DS_Filter.c @@ -83,7 +83,7 @@ DS_Filter* DS_FilterCreate(const char* dllname, const GUID* id, AM_MEDIA_TYPE* out_fmt) { int init = 0; - char eb[250]; + /* char eb[250]; -- unused */ const char* em = NULL; DS_Filter* This = (DS_Filter*) malloc(sizeof(DS_Filter)); if (!This) diff --git a/src/libw32dll/wine/pe_image.c b/src/libw32dll/wine/pe_image.c index 30e7c34da..a90e821ce 100644 --- a/src/libw32dll/wine/pe_image.c +++ b/src/libw32dll/wine/pe_image.c @@ -281,7 +281,7 @@ static DWORD fixup_imports( WINE_MODREF *wm ) */ for (i = 0, pe_imp = pem->pe_import; pe_imp->Name ; pe_imp++) { - WINE_MODREF *wmImp; + /* WINE_MODREF *wmImp; -- unused */ IMAGE_IMPORT_BY_NAME *pe_name; PIMAGE_THUNK_DATA import_list,thunk_list; char *name = (char *) RVA(pe_imp->Name); @@ -436,7 +436,7 @@ HMODULE PE_LoadImage( int handle, LPCSTR filename, WORD *version ) IMAGE_NT_HEADERS *nt; IMAGE_SECTION_HEADER *pe_sec; IMAGE_DATA_DIRECTORY *dir; - BY_HANDLE_FILE_INFORMATION bhfi; + /* BY_HANDLE_FILE_INFORMATION bhfi; -- unused */ 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(); @@ -696,7 +696,7 @@ WINE_MODREF *PE_CreateModule( HMODULE hModule, IMAGE_EXPORT_DIRECTORY *pe_export = NULL; IMAGE_RESOURCE_DIRECTORY *pe_resource = NULL; WINE_MODREF *wm; - int result; + /* int result; -- unused */ diff --git a/src/libw32dll/wine/registry.c b/src/libw32dll/wine/registry.c index 26fd76817..8201fc754 100644 --- a/src/libw32dll/wine/registry.c +++ b/src/libw32dll/wine/registry.c @@ -255,7 +255,7 @@ static char* build_keyname(long key, const char* subkey) } static struct reg_value* insert_reg_value(int handle, const char* name, int type, const void* value, int len) { - reg_handle_t* t; + /* reg_handle_t* t; -- unused */ struct reg_value* v; char* fullname; if((fullname=build_keyname(handle, name))==NULL) @@ -328,6 +328,8 @@ static void init_registry(void) insert_handle(HKEY_CURRENT_USER, "HKCU"); } +#if 0 +/* UNUSED function */ static reg_handle_t* find_handle_2(long key, const char* subkey) { char* full_name; @@ -347,6 +349,7 @@ static reg_handle_t* find_handle_2(long key, const char* subkey) free(full_name); return t; } +#endif long RegOpenKeyExA(long key, const char* subkey, long reserved, long access, int* newkey) { @@ -502,7 +505,7 @@ long RegEnumValueA(HKEY hkey, DWORD index, LPSTR value, LPDWORD val_count, long RegSetValueExA(long key, const char* name, long v1, long v2, const void* data, long size) { - struct reg_value* t; + /* struct reg_value* t; -- unused */ char* c; TRACE("Request to set value %s\n", name); if(!regs) diff --git a/src/libw32dll/wine/vfl.c b/src/libw32dll/wine/vfl.c index 703fffb4b..0db3624e6 100644 --- a/src/libw32dll/wine/vfl.c +++ b/src/libw32dll/wine/vfl.c @@ -349,7 +349,7 @@ LRESULT VFWAPI ICSendMessage(HIC hic,unsigned int msg,long lParam1,long lParam2) { LRESULT ret; WINE_HIC *whic = (WINE_HIC*)hic; - char qw[200]; + /* char qw[200]; -- unused*/ // printf("ICSendMessage.whic=%p\n",whic); diff --git a/src/libw32dll/wine/win32.c b/src/libw32dll/wine/win32.c index 421fff35f..2d42974c6 100644 --- a/src/libw32dll/wine/win32.c +++ b/src/libw32dll/wine/win32.c @@ -811,7 +811,7 @@ static void WINAPI expGetSystemInfo(SYSTEM_INFO* si) /* FIXME: better values for the two entries below... */ static int cache = 0; static SYSTEM_INFO cachedsi; - unsigned int regs[4]; + /* unsigned int regs[4]; -- Unused*/ dbgprintf("GetSystemInfo(%p) =>\n", si); if (cache) { @@ -1535,7 +1535,7 @@ static int WINAPI expLoadStringA(long instance, long id, void* buf, long size) static long WINAPI expMultiByteToWideChar(long v1, long v2, char* s1, long siz1, short* s2, int siz2) { -#warning FIXME +// #warning FIXME int i; int result; if(s2==0) @@ -1604,7 +1604,7 @@ static HANDLE WINAPI expCreateSemaphoreA(char* v1, long init_count, { pthread_mutex_t *pm; pthread_cond_t *pc; - mutex_list* pp; + /* mutex_list* pp; -- unused */ /* printf("CreateSemaphoreA(%p = %s)\n", name, (name ? name : "<null>")); pp=mlist; @@ -2015,7 +2015,7 @@ static LPCSTR WINAPI expGetEnvironmentStrings() static int WINAPI expGetStartupInfoA(STARTUPINFOA *s) { - int i; + /* int i; -- unused */ dbgprintf("GetStartupInfoA(0x%x) => 1\n"); memset(s, 0, sizeof(*s)); s->cb=sizeof(*s); @@ -2104,7 +2104,7 @@ static int WINAPI expLoadLibraryA(char* name) { int result = 0; char* lastbc; - int i; + /* int i; */ if (!name) return -1; // we skip to the last backslash @@ -2360,7 +2360,7 @@ static int WINAPI expWritePrivateProfileStringA(const char* appname, const char* string, const char* filename) { - int size=256; + /* int size=256; */ char* fullname; dbgprintf("WritePrivateProfileStringA('%s', '%s', '%s', '%s')", appname, keyname, string, filename ); if(!(appname && keyname && filename) ) @@ -2536,7 +2536,7 @@ static int WINAPI expGetProcessVersion(int pid) } static int WINAPI expGetCurrentThread(void) { -#warning FIXME! +/* #warning FIXME! -- Worry about it later :) */ dbgprintf("GetCurrentThread() => %x\n", 0xcfcf9898); return 0xcfcf9898; } @@ -2664,7 +2664,7 @@ static int WINAPI expGetSystemTime(SYSTEMTIME* systime) static int WINAPI expGetEnvironmentVariableA(const char* name, char* field, int size) { - char *p; + /* char *p; */ // printf("%s %x %x\n", name, field, size); if(field)field[0]=0; /* @@ -3759,7 +3759,7 @@ struct libs libraries[]={ LL(msdmo) }; -static char* called_unk = "Called unk_%s\n"; +/* static char* called_unk = "Called unk_%s\n"; -- unused */ static void ext_stubs(void) { // expects: @@ -3834,7 +3834,7 @@ void* LookupExternal(const char* library, int ordinal) void* LookupExternalByName(const char* library, const char* name) { - char* answ; + /* char* answ; -- unused */ int i,j; // return (void*)ext_unknown; if(library==0) |