Removed unused variable

This commit is contained in:
Wilson E. Alvarez 2017-08-17 11:43:44 -04:00
parent c4e9f6562f
commit bde864cd30

View file

@ -1629,7 +1629,6 @@ Error OS_Windows::close_dynamic_library(void *p_library_handle) {
}
Error OS_Windows::get_dynamic_library_symbol_handle(void *p_library_handle, const String p_name, void *&p_symbol_handle, bool p_optional) {
char *error;
p_symbol_handle = (void *)GetProcAddress((HMODULE)p_library_handle, p_name.utf8().get_data());
if (!p_symbol_handle) {
if (!p_optional) {