Don't assign to nextRangeWrite twice
This commit is contained in:
@@ -4949,7 +4949,6 @@ struct __attribute__((visibility("hidden"))) ConflictSet::Impl {
|
||||
lastRangeWrite->nextRangeWrite = context.results + i;
|
||||
}
|
||||
lastRangeWrite = context.results + i;
|
||||
lastRangeWrite->nextRangeWrite = nullptr;
|
||||
while (context.results[i].endInsertionPoint->releaseDeferred) {
|
||||
context.results[i].endInsertionPoint =
|
||||
context.results[i].endInsertionPoint->forwardTo;
|
||||
@@ -4962,6 +4961,9 @@ struct __attribute__((visibility("hidden"))) ConflictSet::Impl {
|
||||
context.results[i].endInsertionPoint = endNode;
|
||||
}
|
||||
}
|
||||
if (firstRangeWrite != nullptr) {
|
||||
lastRangeWrite->nextRangeWrite = nullptr;
|
||||
}
|
||||
|
||||
// Phase 3: Erase nodes within written ranges. Going left to right ensures
|
||||
// that nothing later is on the search path of anything earlier, so we don't
|
||||
|
Reference in New Issue
Block a user