Clean up some vestiges of fixed-size partial keys
Some checks failed
Tests / Release [gcc] total: 827, passed: 827
GNU C Compiler (gcc) |Total|New|Outstanding|Fixed|Trend
|:-:|:-:|:-:|:-:|:-:
|0|0|0|0|:clap:
Tests / Release [gcc,aarch64] total: 826, passed: 826
Tests / Coverage total: 825, failed: 1, passed: 824
weaselab/conflict-set/pipeline/head There was a failure building this commit
Some checks failed
Tests / Release [gcc] total: 827, passed: 827
GNU C Compiler (gcc) |Total|New|Outstanding|Fixed|Trend
|:-:|:-:|:-:|:-:|:-:
|0|0|0|0|:clap:
Tests / Release [gcc,aarch64] total: 826, passed: 826
Tests / Coverage total: 825, failed: 1, passed: 824
weaselab/conflict-set/pipeline/head There was a failure building this commit
This commit is contained in:
@@ -181,6 +181,9 @@ struct Node {
|
||||
|
||||
Type type;
|
||||
#ifndef NDEBUG
|
||||
// Leaving this uninitialized is intentional and necessary to expect asserts
|
||||
// to pass. Basically it needs to be preserved when going to the free list and
|
||||
// back.
|
||||
int32_t partialKeyCapacity;
|
||||
#endif
|
||||
|
||||
@@ -325,6 +328,8 @@ uint8_t *Node::partialKey() {
|
||||
case Type::Node256:
|
||||
return ((Node256 *)this)->partialKey();
|
||||
}
|
||||
__builtin_unreachable();
|
||||
; // GCOVR_EXCL_LINE
|
||||
}
|
||||
|
||||
struct NodeAllocators {
|
||||
|
Reference in New Issue
Block a user