summaryrefslogtreecommitdiff
path: root/apt-pkg
diff options
context:
space:
mode:
authorArch Librarian <arch@canonical.com>2004-09-20 16:50:39 +0000
committerArch Librarian <arch@canonical.com>2004-09-20 16:50:39 +0000
commit2246928b428c3ece2c2743da5b0bb63257e37a85 (patch)
tree1b2c568c8153c427f13642b1cd707e3aed977887 /apt-pkg
parentc59667c189fa698c540c8bf42473ac00ec6fab62 (diff)
downloadapt-2246928b428c3ece2c2743da5b0bb63257e37a85.tar.gz
Res initialize glitch
Author: jgg Date: 1998-07-05 05:53:52 GMT Res initialize glitch
Diffstat (limited to 'apt-pkg')
-rw-r--r--apt-pkg/pkgcachegen.cc4
1 files changed, 2 insertions, 2 deletions
diff --git a/apt-pkg/pkgcachegen.cc b/apt-pkg/pkgcachegen.cc
index 7cc5a734..acc05f13 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.5 1998/07/05 05:39:53 jgg Exp $
+// $Id: pkgcachegen.cc,v 1.6 1998/07/05 05:53:52 jgg Exp $
/* ######################################################################
Package Cache Generator - Generator for the cache structure.
@@ -84,7 +84,7 @@ bool pkgCacheGenerator::MergeList(ListParser &List)
pkgCache::VerIterator Ver = Pkg.VersionList();
unsigned long *Last = &Pkg->VersionList;
- int Res;
+ int Res = 1;
for (; Ver.end() == false; Last = &Ver->NextVer, Ver++)
{
Res = pkgVersionCompare(Version.begin(),Version.end(),Ver.VerStr(),