diff options
author | Michael Vogt <egon@debian-devbox> | 2011-08-05 09:12:31 +0200 |
---|---|---|
committer | Michael Vogt <egon@debian-devbox> | 2011-08-05 09:12:31 +0200 |
commit | 8efc4d7b07ea389aa26eb017b66080eee2940653 (patch) | |
tree | 919cb6dae60e5d64fe566d8786712fbf4ec148be /apt-pkg/pkgcachegen.cc | |
parent | 3bbcf3b90405b25fc3a53dad0a6afdf341de528c (diff) |
apt-pkg/pkgcachegen.cc: fix compiler error
Diffstat (limited to 'apt-pkg/pkgcachegen.cc')
-rw-r--r-- | apt-pkg/pkgcachegen.cc | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/apt-pkg/pkgcachegen.cc b/apt-pkg/pkgcachegen.cc index 0e6ae698d..3c21b2442 100644 --- a/apt-pkg/pkgcachegen.cc +++ b/apt-pkg/pkgcachegen.cc @@ -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 |