diff options
author | Aurelien Foret <aurelien@archlinux.org> | 2006-01-02 21:28:46 +0100 |
---|---|---|
committer | Aurelien Foret <aurelien@archlinux.org> | 2006-01-02 21:28:46 +0100 |
commit | 5839652c410415c496f4ae59692fa3541331bb95 (patch) | |
tree | 78fefa59bc1842621a019822d4ead5e7181f5744 /lib/libalpm/cache.c | |
parent | 96de3501ab94f724fd3f29abcbbab4399c29a6a1 (diff) | |
download | pacman-5839652c410415c496f4ae59692fa3541331bb95.tar.gz pacman-5839652c410415c496f4ae59692fa3541331bb95.tar.xz |
code cleanup
Diffstat (limited to 'lib/libalpm/cache.c')
-rw-r--r-- | lib/libalpm/cache.c | 1 |
1 files changed, 0 insertions, 1 deletions
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); |