forked from weaselab/conflict-set
Fix use of uninitialized memory
This commit is contained in:
1 parent
01a29b69b1
commit
79987a2f55
1 file changed
+1
@@ -679,6 +679,7 @@ template <class ConflictSet_> void benchConflictSet(const std::string &name) {
|
|||||||
w.begin.len = r.begin.len;
|
w.begin.len = r.begin.len;
|
||||||
w.end.p = r.end.p;
|
w.end.p = r.end.p;
|
||||||
w.end.len = 0;
|
w.end.len = 0;
|
||||||
|
w.writeVersion = version + 1;
|
||||||
writes.push_back(w);
|
writes.push_back(w);
|
||||||
}
|
}
|
||||||
cs.addWrites(writes.data(), writes.size());
|
cs.addWrites(writes.data(), writes.size());
|
||||||
|
|||||||
Reference in new issue
Block a user