summaryrefslogtreecommitdiff
path: root/core/object/callable_method_pointer.h
diff options
context:
space:
mode:
authorRĂ©mi Verschelde <remi@verschelde.fr>2022-04-04 21:24:27 +0200
committerGitHub <noreply@github.com>2022-04-04 21:24:27 +0200
commit1abb5ebf6532944a9fd0d1acf9ad61a0df1bb0ed (patch)
treea9d2df2e2df939c189135b1c36a01e06b37b80b2 /core/object/callable_method_pointer.h
parent53317bbe146dd19a919685df8d846c55568daba1 (diff)
parentf8ab79e68af20e18e1d868b64d6dfd0c429bc554 (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.h2
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