diff options
author | RĂ©mi Verschelde <remi@verschelde.fr> | 2022-04-04 21:24:27 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2022-04-04 21:24:27 +0200 |
commit | 1abb5ebf6532944a9fd0d1acf9ad61a0df1bb0ed (patch) | |
tree | a9d2df2e2df939c189135b1c36a01e06b37b80b2 /core/object/callable_method_pointer.h | |
parent | 53317bbe146dd19a919685df8d846c55568daba1 (diff) | |
parent | f8ab79e68af20e18e1d868b64d6dfd0c429bc554 (diff) |
Merge pull request #59867 from akien-mga/refactor-zero-initialize-all-pointers
Diffstat (limited to 'core/object/callable_method_pointer.h')
-rw-r--r-- | core/object/callable_method_pointer.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/core/object/callable_method_pointer.h b/core/object/callable_method_pointer.h index 3cd9ad3819..577d4b9fbd 100644 --- a/core/object/callable_method_pointer.h +++ b/core/object/callable_method_pointer.h @@ -38,7 +38,7 @@ #include "core/variant/callable.h" class CallableCustomMethodPointerBase : public CallableCustom { - uint32_t *comp_ptr; + uint32_t *comp_ptr = nullptr; uint32_t comp_size; uint32_t h; #ifdef DEBUG_METHODS_ENABLED |