diff --git a/src/TDB2.cpp b/src/TDB2.cpp index f93f46d16..84be333d7 100644 --- a/src/TDB2.cpp +++ b/src/TDB2.cpp @@ -1271,10 +1271,6 @@ void TDB2::gc () if (pending_changes) { pending._dirty = true; - _id = 1; - - for (auto& task : pending._tasks) - task.id = _id++; // Note: deliberately no commit. }