summaryrefslogtreecommitdiffstats
path: root/lib/libalpm/be_local.c
diff options
context:
space:
mode:
authorAllan McRae <allan@archlinux.org>2012-05-02 03:08:07 +0200
committerAllan McRae <allan@archlinux.org>2012-12-14 04:45:12 +0100
commit097d5a478b32aece93013580fdb06cacbaf0e9a0 (patch)
tree678c0d254672c7b0c7e17bc6270d37910ea16638 /lib/libalpm/be_local.c
parent0445c68d9b7738553dd1a5088110b8b0a1e1f7f9 (diff)
downloadpacman-097d5a478b32aece93013580fdb06cacbaf0e9a0.tar.gz
pacman-097d5a478b32aece93013580fdb06cacbaf0e9a0.tar.xz
Add public functions for accessing mtree data
Signed-off-by: Allan McRae <allan@archlinux.org>
Diffstat (limited to 'lib/libalpm/be_local.c')
-rw-r--r--lib/libalpm/be_local.c2
1 files changed, 0 insertions, 2 deletions
diff --git a/lib/libalpm/be_local.c b/lib/libalpm/be_local.c
index 57092455..6d47fa88 100644
--- a/lib/libalpm/be_local.c
+++ b/lib/libalpm/be_local.c
@@ -225,8 +225,6 @@ static struct archive *_cache_mtree_open(alpm_pkg_t *pkg)
int r;
struct archive *mtree;
- pkg->handle->pm_errno = 0;
-
alpm_db_t *db = alpm_pkg_get_db(pkg);
char *mtfile = _alpm_local_db_pkgpath(db, pkg, "mtree");