summaryrefslogtreecommitdiff
path: root/platform/android/api
diff options
context:
space:
mode:
authorRafał Mikrut <mikrutrafal@protonmail.com>2020-11-24 10:12:55 +0100
committerRafał Mikrut <mikrutrafal@protonmail.com>2020-12-02 16:09:11 +0100
commite1811b689b6854668ca690831df8603820b68573 (patch)
treeb13641bf9a704ec71f8ac90f3dd8d41a1174ae04 /platform/android/api
parentd1231be1c8f8f2c16fd1047adcd3c7f997a07c1f (diff)
Initialize class/struct variables with default values in platform/ and editor/
Diffstat (limited to 'platform/android/api')
-rw-r--r--platform/android/api/java_class_wrapper.h4
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;
};