summaryrefslogtreecommitdiff
path: root/modules/gdnative/gdnative.cpp
diff options
context:
space:
mode:
authorRĂ©mi Verschelde <rverschelde@gmail.com>2017-08-22 00:58:12 +0200
committerGitHub <noreply@github.com>2017-08-22 00:58:12 +0200
commitdf590fc2d33c1ba715a4ce58f71d83e0ed9f5693 (patch)
tree8bfdc3e033aaf4dc9a5de5e8040e4f99afa0c540 /modules/gdnative/gdnative.cpp
parent13f879587dd9bce59528e44b0faaf6e062f6d918 (diff)
parent738d2ab96997faa1e13b91e38cf8a0000d829f70 (diff)
Merge pull request #10340 from Rubonnek/remove-unnecessary-assignments
Removed unnecessary assignments
Diffstat (limited to 'modules/gdnative/gdnative.cpp')
-rw-r--r--modules/gdnative/gdnative.cpp3
1 files changed, 1 insertions, 2 deletions
diff --git a/modules/gdnative/gdnative.cpp b/modules/gdnative/gdnative.cpp
index fc4fc5c10d..ccc7e5f2da 100644
--- a/modules/gdnative/gdnative.cpp
+++ b/modules/gdnative/gdnative.cpp
@@ -247,9 +247,8 @@ bool GDNative::terminate() {
return false;
}
- Error error = OK;
void *library_terminate;
- error = OS::get_singleton()->get_dynamic_library_symbol_handle(
+ Error error = OS::get_singleton()->get_dynamic_library_symbol_handle(
native_handle,
terminate_symbol,
library_terminate);