[prev in list] [next in list] [prev in thread] [next in thread] 

List:       kde-commits
Subject:    extragear/sysadmin/libqapt/src
From:       Jonathan Michael Thomas <echidnaman () kubuntu ! org>
Date:       2011-01-06 18:30:41
Message-ID: 20110106183041.EB822AC8B0 () svn ! kde ! org
[Download RAW message or body]

SVN commit 1212373 by jmthomas:

These checks are already performed by pkgCacheFile, and we would already have \
returned if they were true by the time we do the redundant checks.


 M  +0 -9      cache.cpp  


--- trunk/extragear/sysadmin/libqapt/src/cache.cpp #1212372:1212373
@@ -90,18 +90,9 @@
         return false;
     }
 
-    if (_error->PendingError()) {
-        return false;
-    }
-
     d->depCache = *d->cache;
-
     d->trustCache->clear();
 
-    if (d->depCache->DelCount() != 0 || d->depCache->InstCount() != 0) {
-         return false;
-     }
-
     return true;
 }
 


[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic