index : pacman | |
Archlinux32 fork of pacman | gitolite user |
summaryrefslogtreecommitdiff |
author | Dan McGee <dan@archlinux.org> | 2011-04-20 19:54:01 -0500 |
---|---|---|
committer | Dan McGee <dan@archlinux.org> | 2011-06-24 03:31:32 -0500 |
commit | 1150d9e15aaea2ae1f259995d11442f491ef0af7 (patch) | |
tree | 537cb6094479710207aea562fed48bc48deb184b /lib/libalpm/db.c | |
parent | db3b86e7f34f4c3ccb42e98465f2069aa642a85f (diff) |
-rw-r--r-- | lib/libalpm/db.c | 13 |
diff --git a/lib/libalpm/db.c b/lib/libalpm/db.c index 2b50c064..820261a1 100644 --- a/lib/libalpm/db.c +++ b/lib/libalpm/db.c @@ -370,14 +370,6 @@ const char *_alpm_db_path(pmdb_t *db) return db->_path; } -int _alpm_db_version(pmdb_t *db) -{ - if(!db) { - return -1; - } - return db->ops->version(db); -} - char *_alpm_db_sig_path(pmdb_t *db) { char *sigpath; @@ -522,11 +514,6 @@ pmpkghash_t *_alpm_db_get_pkgcache_hash(pmdb_t *db) _alpm_db_load_pkgcache(db); } - /* hmmm, still NULL ?*/ - if(!db->pkgcache) { - _alpm_log(db->handle, PM_LOG_DEBUG, "warning: pkgcache is NULL for db '%s'\n", db->treename); - } - return db->pkgcache; } |