From 91e42c2b4e9a6e8c7c1db29e9d1606741d251ca0 Mon Sep 17 00:00:00 2001 From: Julian Andres Klode Date: Sat, 15 Aug 2015 10:48:59 +0200 Subject: cachefile.cc: Do not ignore return value of pkgDepCache::Init() Currently, this always returns true, but it might start returning false at some point in the future... Gbp-Dch: ignore --- apt-pkg/cachefile.cc | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) (limited to 'apt-pkg/cachefile.cc') diff --git a/apt-pkg/cachefile.cc b/apt-pkg/cachefile.cc index ed3c2dd0a..214864095 100644 --- a/apt-pkg/cachefile.cc +++ b/apt-pkg/cachefile.cc @@ -157,8 +157,7 @@ bool pkgCacheFile::BuildDepCache(OpProgress *Progress) if (_error->PendingError() == true) return false; - DCache->Init(Progress); - return true; + return DCache->Init(Progress); } /*}}}*/ // CacheFile::Open - Open the cache files, creating if necessary /*{{{*/ -- cgit v1.2.3