Fixes CID 1352715 uninitialized scalar field.

This commit is contained in:
Simon 2016-10-20 11:25:36 -07:00
parent b7727d8b3b
commit 19bec4d9bb
1 changed files with 1 additions and 1 deletions

View File

@ -163,7 +163,7 @@ private:
IncrementalMerkleTree<Depth, Hash> tree;
std::vector<Hash> filled;
boost::optional<IncrementalMerkleTree<Depth, Hash>> cursor;
size_t cursor_depth;
size_t cursor_depth = 0;
std::deque<Hash> partial_path() const;
IncrementalWitness(IncrementalMerkleTree<Depth, Hash> tree) : tree(tree) {}
};