summaryrefslogtreecommitdiff
path: root/platform
diff options
context:
space:
mode:
authorRémi Verschelde <rverschelde@gmail.com>2022-11-14 23:23:54 +0100
committerRémi Verschelde <rverschelde@gmail.com>2022-11-14 23:23:54 +0100
commit80dbcfd9958bf6cc1d348f9a35ec671cb434a741 (patch)
treefc0a8fbc45ad9431d96980249324a07ffac4fcad /platform
parentd7d34e4bc19a54c964d50273e35e1fb506edf2c8 (diff)
parent3b14f0334c9857a11ec8060562186aae5fe8cae0 (diff)
Merge pull request #68657 from Sauermann/fix-redundant-initialization
Remove redundant non-trivial Variant types initializations
Diffstat (limited to 'platform')
-rw-r--r--platform/android/plugin/godot_plugin_jni.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/platform/android/plugin/godot_plugin_jni.cpp b/platform/android/plugin/godot_plugin_jni.cpp
index 498977ad49..5a7123b833 100644
--- a/platform/android/plugin/godot_plugin_jni.cpp
+++ b/platform/android/plugin/godot_plugin_jni.cpp
@@ -135,7 +135,7 @@ JNIEXPORT void JNICALL Java_org_godotengine_godot_plugin_GodotPlugin_nativeRegis
}
// Retrieve the current list of gdnative libraries.
- Array singletons = Array();
+ Array singletons;
if (ProjectSettings::get_singleton()->has_setting("gdnative/singletons")) {
singletons = GLOBAL_GET("gdnative/singletons");
}