diff options
author | RĂ©mi Verschelde <rverschelde@gmail.com> | 2020-12-08 15:53:42 +0100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2020-12-08 15:53:42 +0100 |
commit | 90bdba576af2d5f0a8ecdbef065d6ef0075bc2f2 (patch) | |
tree | 22e25092f8a56af0c467442baa763f7a2db1c7cb /platform/android/api/java_class_wrapper.h | |
parent | edb3686ee2379ad28d1273797db8bd9ded38ff1e (diff) | |
parent | e1811b689b6854668ca690831df8603820b68573 (diff) |
Merge pull request #43742 from qarmin/editor_modules_default_values
Initialize class/struct variables with default values in platform/ and editor/
Diffstat (limited to 'platform/android/api/java_class_wrapper.h')
-rw-r--r-- | platform/android/api/java_class_wrapper.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/platform/android/api/java_class_wrapper.h b/platform/android/api/java_class_wrapper.h index 64da049407..63d71f5cf1 100644 --- a/platform/android/api/java_class_wrapper.h +++ b/platform/android/api/java_class_wrapper.h @@ -66,10 +66,10 @@ class JavaClass : public Reference { Map<StringName, Variant> constant_map; struct MethodInfo { - bool _static; + bool _static = false; Vector<uint32_t> param_types; Vector<StringName> param_sigs; - uint32_t return_type; + uint32_t return_type = 0; jmethodID method; }; |