summaryrefslogtreecommitdiff
path: root/core/object/message_queue.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/message_queue.h
parent53317bbe146dd19a919685df8d846c55568daba1 (diff)
parentf8ab79e68af20e18e1d868b64d6dfd0c429bc554 (diff)
Merge pull request #59867 from akien-mga/refactor-zero-initialize-all-pointers
Diffstat (limited to 'core/object/message_queue.h')
-rw-r--r--core/object/message_queue.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/core/object/message_queue.h b/core/object/message_queue.h
index eaab01d0aa..2219cdb8f6 100644
--- a/core/object/message_queue.h
+++ b/core/object/message_queue.h
@@ -62,10 +62,10 @@ class MessageQueue {
};
};
- uint8_t *buffer;
+ uint8_t *buffer = nullptr;
uint32_t buffer_end = 0;
uint32_t buffer_max_used = 0;
- uint32_t buffer_size;
+ uint32_t buffer_size = 0;
void _call_function(const Callable &p_callable, const Variant *p_args, int p_argcount, bool p_show_error);