Merge pull request #10398 from Rubonnek/removed-unused-variable

Removed unused variable
This commit is contained in:
Rémi Verschelde 2017-08-17 19:07:57 +02:00 committed by GitHub
commit 523b3c11cf

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) {