summaryrefslogtreecommitdiff
path: root/apt-pkg
diff options
context:
space:
mode:
authorArch Librarian <arch@canonical.com>2004-09-20 16:52:56 +0000
committerArch Librarian <arch@canonical.com>2004-09-20 16:52:56 +0000
commita9e5851b62cde2945fe3af44438b202c04c6703f (patch)
tree83d9e97eb93bf4b972116f7163bca9582f5aa3fb /apt-pkg
parentf9eec0e748c2e735980bf80445535d32f27f8301 (diff)
downloadapt-a9e5851b62cde2945fe3af44438b202c04c6703f.tar.gz
Oops, removed debug code
Author: jgg Date: 1999-02-23 06:50:36 GMT Oops, removed debug code
Diffstat (limited to 'apt-pkg')
-rw-r--r--apt-pkg/pkgcachegen.cc5
1 files changed, 1 insertions, 4 deletions
diff --git a/apt-pkg/pkgcachegen.cc b/apt-pkg/pkgcachegen.cc
index 80997c952..402d2e4ff 100644
--- a/apt-pkg/pkgcachegen.cc
+++ b/apt-pkg/pkgcachegen.cc
@@ -1,6 +1,6 @@
// -*- mode: cpp; mode: fold -*-
// Description /*{{{*/
-// $Id: pkgcachegen.cc,v 1.29 1999/02/23 06:46:24 jgg Exp $
+// $Id: pkgcachegen.cc,v 1.30 1999/02/23 06:50:36 jgg Exp $
/* ######################################################################
Package Cache Generator - Generator for the cache structure.
@@ -76,7 +76,6 @@ bool pkgCacheGenerator::MergeList(ListParser &List)
{
// Get a pointer to the package structure
string PackageName = List.Package();
- Pkgs++;
if (PackageName.empty() == true)
return false;
@@ -103,7 +102,6 @@ bool pkgCacheGenerator::MergeList(ListParser &List)
int Res = 1;
for (; Ver.end() == false; Last = &Ver->NextVer, Ver++)
{
- Cmps++;
Res = pkgVersionCompare(Version.begin(),Version.end(),Ver.VerStr(),
Ver.VerStr() + strlen(Ver.VerStr()));
if (Res >= 0)
@@ -124,7 +122,6 @@ bool pkgCacheGenerator::MergeList(ListParser &List)
}
// Add a new version
- Vers++;
*Last = NewVersion(Ver,Version,*Last);
Ver->ParentPkg = Pkg.Index();
if (List.NewVersion(Ver) == false)