summaryrefslogtreecommitdiff
path: root/platform
diff options
context:
space:
mode:
authorWilson E. Alvarez <wilson.e.alvarez1@gmail.com>2017-08-17 11:43:44 -0400
committerWilson E. Alvarez <wilson.e.alvarez1@gmail.com>2017-08-17 11:43:44 -0400
commitbde864cd3036cfbf6e24ad9e76aacc307ef8931c (patch)
tree65df6c669158f41485178f46da053602ec1b6e42 /platform
parentc4e9f6562fe70aefcd6de0dc1b2134fd8422264f (diff)
Removed unused variable
Diffstat (limited to 'platform')
-rw-r--r--platform/windows/os_windows.cpp1
1 files changed, 0 insertions, 1 deletions
diff --git a/platform/windows/os_windows.cpp b/platform/windows/os_windows.cpp
index 779f909a15..54021b8172 100644
--- a/platform/windows/os_windows.cpp
+++ b/platform/windows/os_windows.cpp
@@ -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) {