summaryrefslogtreecommitdiff
path: root/modules/gdnative
diff options
context:
space:
mode:
authorWilson E. Alvarez <wilson.e.alvarez1@gmail.com>2017-08-21 15:15:36 -0400
committerWilson E. Alvarez <wilson.e.alvarez1@gmail.com>2017-08-21 15:15:55 -0400
commit738d2ab96997faa1e13b91e38cf8a0000d829f70 (patch)
treee33258663017edb924695e68224ba836e5fc9f08 /modules/gdnative
parent4717d37bfa867d8cdcd4805967324978da6701b7 (diff)
Removed unnecessary assignments
Diffstat (limited to 'modules/gdnative')
-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);