diff options
author | Rafał Mikrut <mikrutrafal@protonmail.com> | 2020-11-23 17:38:46 +0100 |
---|---|---|
committer | Rafał Mikrut <mikrutrafal@protonmail.com> | 2020-11-23 17:38:46 +0100 |
commit | 7bd03b718871137740c6bf074e984bba8dc113c3 (patch) | |
tree | c83a11a1ddae811a0ac2f7246f423678de2a106e /core/io/packed_data_container.h | |
parent | 18023cc3ede6fd84842db77019085c383e807016 (diff) | |
download | redot-engine-7bd03b718871137740c6bf074e984bba8dc113c3.tar.gz |
Initialize class/struct variables with default values in core/ and drivers/
Diffstat (limited to 'core/io/packed_data_container.h')
-rw-r--r-- | core/io/packed_data_container.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/core/io/packed_data_container.h b/core/io/packed_data_container.h index b784abcd16..3899c14bb4 100644 --- a/core/io/packed_data_container.h +++ b/core/io/packed_data_container.h @@ -84,7 +84,7 @@ class PackedDataContainerRef : public Reference { GDCLASS(PackedDataContainerRef, Reference); friend class PackedDataContainer; - uint32_t offset; + uint32_t offset = 0; Ref<PackedDataContainer> from; protected: |