apt-private/private-output.cc: fix cppcheck output
authorMichael Vogt <mvo@debian.org>
Tue, 10 Jun 2014 13:22:53 +0000 (15:22 +0200)
committerMichael Vogt <mvo@debian.org>
Tue, 10 Jun 2014 13:22:53 +0000 (15:22 +0200)
apt-private/private-output.cc

index 32f27a3..8f190a5 100644 (file)
@@ -94,7 +94,7 @@ bool InitOutput()                                                     /*{{{*/
 static std::string GetArchiveSuite(pkgCacheFile &/*CacheFile*/, pkgCache::VerIterator ver) /*{{{*/
 {
    std::string suite = "";
-   if (ver && ver.FileList() && ver.FileList())
+   if (ver && ver.FileList())
    {
       pkgCache::VerFileIterator VF = ver.FileList();
       for (; VF.end() == false ; ++VF)