From: Julian Andres Klode Date: Sat, 15 Aug 2015 08:48:59 +0000 (+0200) Subject: cachefile.cc: Do not ignore return value of pkgDepCache::Init() X-Git-Tag: 1.1.exp9~18 X-Git-Url: https://git.saurik.com/apt.git/commitdiff_plain/91e42c2b4e9a6e8c7c1db29e9d1606741d251ca0 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 --- 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 /*{{{*/