Browse Source

apt-private/private-output.cc: fix cppcheck output

Michael Vogt 12 years ago
parent
commit
2847bed0b7
1 changed files with 1 additions and 1 deletions
  1. 1 1
      apt-private/private-output.cc

+ 1 - 1
apt-private/private-output.cc

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