summaryrefslogtreecommitdiff
path: root/apt-pkg/pkgcachegen.cc
diff options
context:
space:
mode:
authorDavid Kalnischkies <kalnischkies@gmail.com>2012-10-13 09:59:54 +0200
committerDavid Kalnischkies <kalnischkies@gmail.com>2012-10-13 09:59:54 +0200
commitdfe45e1f1133ffabe55297ae76c77a0767e3ae55 (patch)
tree4bdbb5ceddf5ede4347bba91c45a814afc0d4bb2 /apt-pkg/pkgcachegen.cc
parent95f9393859c464e89467fba096074922708010d1 (diff)
correct "3 missing" to "2 missing" remap registrations as the Version
handled in NewVersion is already registered
Diffstat (limited to 'apt-pkg/pkgcachegen.cc')
-rw-r--r--apt-pkg/pkgcachegen.cc2
1 files changed, 1 insertions, 1 deletions
diff --git a/apt-pkg/pkgcachegen.cc b/apt-pkg/pkgcachegen.cc
index d5f1f9072..4eaf40b51 100644
--- a/apt-pkg/pkgcachegen.cc
+++ b/apt-pkg/pkgcachegen.cc
@@ -774,7 +774,7 @@ unsigned long pkgCacheGenerator::NewVersion(pkgCache::VerIterator &Ver,
// Fill it in
Ver = pkgCache::VerIterator(Cache,Cache.VerP + Version);
- Dynamic<pkgCache::VerIterator> DynV(Ver);
+ //Dynamic<pkgCache::VerIterator> DynV(Ver); // caller MergeListVersion already takes care of it
Ver->NextVer = Next;
Ver->ID = Cache.HeaderP->VersionCount++;
map_ptrloc const idxVerStr = WriteStringInMap(VerStr);