Fix use of uninitialized memory

This commit is contained in:
2024-01-30 14:50:26 -08:00
parent f2c9267b48
commit 906a007c3a

View File

@@ -35,7 +35,7 @@ enum class Type : int8_t {
struct Node { struct Node {
/* begin section that's copied to the next node */ /* begin section that's copied to the next node */
Node *parent = nullptr; Node *parent = nullptr;
int64_t maxVersion; int64_t maxVersion = std::numeric_limits<int64_t>::lowest();
Entry entry; Entry entry;
int16_t numChildren = 0; int16_t numChildren = 0;
bool entryPresent = false; bool entryPresent = false;