diff options
author | Julian Andres Klode <jak@debian.org> | 2015-08-15 10:48:59 +0200 |
---|---|---|
committer | Julian Andres Klode <jak@debian.org> | 2015-08-15 10:48:59 +0200 |
commit | 91e42c2b4e9a6e8c7c1db29e9d1606741d251ca0 (patch) | |
tree | b3eaf37da3a3b69e38e14981cfe19fa282c1eacf /apt-pkg | |
parent | 7a139fa8bf2c18da54b5837c9290ba5b77e9c629 (diff) |
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
Diffstat (limited to 'apt-pkg')
-rw-r--r-- | apt-pkg/cachefile.cc | 3 |
1 files changed, 1 insertions, 2 deletions
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 /*{{{*/ |