(dylib.c) Cleanup

This commit is contained in:
twinaphex 2015-08-22 18:41:00 +02:00
parent 39240d25e3
commit e70ccd2a6d

View File

@ -95,8 +95,6 @@ function_t dylib_proc(dylib_t lib, const char *proc)
function_t sym; function_t sym;
void *ptr_sym = NULL; void *ptr_sym = NULL;
(void)ptr_sym;
#ifdef _WIN32 #ifdef _WIN32
sym = (function_t)GetProcAddress(lib ? sym = (function_t)GetProcAddress(lib ?
(HMODULE)lib : GetModuleHandle(NULL), proc); (HMODULE)lib : GetModuleHandle(NULL), proc);