Просмотр исходного кода

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

Michael Vogt лет назад: 12
Родитель
Сommit
2847bed0b7
1 измененных файлов с 1 добавлено и 1 удалено
  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) /*{{{*/
 {
    std::string suite = "";
-   if (ver && ver.FileList() && ver.FileList())
+   if (ver && ver.FileList())
    {
       pkgCache::VerFileIterator VF = ver.FileList();
       for (; VF.end() == false ; ++VF)