]> git.saurik.com Git - apt.git/commitdiff
apt-pkg/pkgcachegen.cc: fix compiler error
authorMichael Vogt <egon@debian-devbox>
Fri, 5 Aug 2011 07:12:31 +0000 (09:12 +0200)
committerMichael Vogt <egon@debian-devbox>
Fri, 5 Aug 2011 07:12:31 +0000 (09:12 +0200)
apt-pkg/pkgcachegen.cc

index 0e6ae698d39cf3e4b61bbffb8d3adc2ab0c0361e..3c21b2442c69ff2a7cf43402c56703bd8eda8648 100644 (file)
@@ -648,7 +648,7 @@ bool pkgCacheGenerator::FinishCache(OpProgress *Progress)
               bool const coInstall = ((V->MultiArch & pkgCache::Version::Same) == pkgCache::Version::Same);
               for (vector<string>::const_iterator A = archs.begin(); A != archs.end(); ++A)
               {
-                 if (Arch == 0 || *A == Arch)
+                 if (*A == Arch)
                     continue;
                  /* We allow only one installed arch at the time
                     per group, therefore each group member conflicts