summaryrefslogtreecommitdiff
path: root/apt-pkg/pkgcachegen.cc
diff options
context:
space:
mode:
authorMichael Vogt <michael.vogt@ubuntu.com>2009-02-09 14:31:39 +0100
committerMichael Vogt <michael.vogt@ubuntu.com>2009-02-09 14:31:39 +0100
commit3111692d0be3b2dc401180728e51e1b1fd2525a1 (patch)
treec66579e132eaf9e299d96e5ad88927e8d219b483 /apt-pkg/pkgcachegen.cc
parentebb461fdf02ee3e038d4b3a4ab1a0a60188edf9a (diff)
parent651001f7501431b75e967ba060160129d5a7ed74 (diff)
merge the latest debian-sid branch
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 f71547f39..397c19829 100644
--- a/apt-pkg/pkgcachegen.cc
+++ b/apt-pkg/pkgcachegen.cc
@@ -143,7 +143,7 @@ bool pkgCacheGenerator::MergeList(ListParser &List,
// don't add a new description if we have one for the given
// md5 && language
- for ( ; Desc.end() == false; LastDesc = &Desc->NextDesc, Desc++)
+ for ( ; Desc.end() == false; Desc++)
if (MD5SumValue(Desc.md5()) == CurMd5 &&
Desc.LanguageCode() == List.DescriptionLanguage())
duplicate=true;