index : pacman | |
Archlinux32 fork of pacman | gitolite user |
summaryrefslogtreecommitdiff |
-rw-r--r-- | lib/libalpm/cache.c | 1 |
diff --git a/lib/libalpm/cache.c b/lib/libalpm/cache.c index 4d301768..20d3ed5b 100644 --- a/lib/libalpm/cache.c +++ b/lib/libalpm/cache.c @@ -130,7 +130,6 @@ int db_remove_pkgfromcache(pmdb_t *db, pmpkg_t *pkg) } db->pkgcache = _alpm_list_remove(db->pkgcache, pkg, pkg_cmp, (void **)&data); - if(data == NULL) { /* package not found */ return(-1); |