Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion src/dbzero/core/serialization/optional_item.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ DB0_PACKED_BEGIN
struct DB0_PACKED_ATTR o_optional_item
{
// the item value (valid only if m_present != 0)
ItemT m_value;
ItemT m_value = {};
// indicates if the item is present (1) or not (0)
std::uint8_t m_present = 0;

Expand Down
Loading