summaryrefslogtreecommitdiff
path: root/apt-private
diff options
context:
space:
mode:
authorMichael Vogt <mvo@debian.org>2014-06-10 15:22:53 +0200
committerMichael Vogt <mvo@debian.org>2014-06-10 15:22:53 +0200
commit2847bed0b704bc636f169c5766da42180a084eac (patch)
tree6fa9bfc4b3ee022cb2b928f4ff5750881a16273c /apt-private
parentea606ec43a364a8e471fd9502d79fe2dfeb6e4ba (diff)
apt-private/private-output.cc: fix cppcheck output
Diffstat (limited to 'apt-private')
-rw-r--r--apt-private/private-output.cc2
1 files changed, 1 insertions, 1 deletions
diff --git a/apt-private/private-output.cc b/apt-private/private-output.cc
index 32f27a3dd..8f190a551 100644
--- a/apt-private/private-output.cc
+++ b/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)