diff options
author | Hein-Pieter van Braam <hp@tmm.cx> | 2018-02-28 21:55:13 +0100 |
---|---|---|
committer | Hein-Pieter van Braam <hp@tmm.cx> | 2018-02-28 21:55:13 +0100 |
commit | d702d7b335c0c9305e75131770c0ea739b70d813 (patch) | |
tree | 19e65ebbcc65823ab297a1e43f4adfb9c88dda44 /modules/gdnative/nativescript/nativescript.cpp | |
parent | c6dff58f491c30ffc2a81a8d69da86ff8105053f (diff) | |
download | redot-engine-d702d7b335c0c9305e75131770c0ea739b70d813.tar.gz |
Fix various valgrind reported uninitialized variable uses
Diffstat (limited to 'modules/gdnative/nativescript/nativescript.cpp')
-rw-r--r-- | modules/gdnative/nativescript/nativescript.cpp | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/modules/gdnative/nativescript/nativescript.cpp b/modules/gdnative/nativescript/nativescript.cpp index f2e9bef467..3083ae7bbd 100644 --- a/modules/gdnative/nativescript/nativescript.cpp +++ b/modules/gdnative/nativescript/nativescript.cpp @@ -957,6 +957,7 @@ void NativeScriptLanguage::_unload_stuff(bool p_reload) { NativeScriptLanguage::NativeScriptLanguage() { NativeScriptLanguage::singleton = this; + has_objects_to_register = false; #ifndef NO_THREADS mutex = Mutex::create(); #endif |