]> git.saurik.com Git - apt.git/commitdiff
apt-pkg/pkgcachegen.cc: when searching for duplicates in the description, avoid side...
authorMichael Vogt <michael.vogt@ubuntu.com>
Mon, 19 Jan 2009 11:50:37 +0000 (12:50 +0100)
committerMichael Vogt <michael.vogt@ubuntu.com>
Mon, 19 Jan 2009 11:50:37 +0000 (12:50 +0100)
apt-pkg/pkgcachegen.cc

index f71547f3925e8e6b24186ab2859caa2e3fc7a9f4..397c198293a934331ef98c73796e3a61075fe313 100644 (file)
@@ -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;