index : pacman | |
Archlinux32 fork of pacman | gitolite user |
summaryrefslogtreecommitdiff |
author | Dan McGee <dan@archlinux.org> | 2011-04-21 19:01:06 -0500 |
---|---|---|
committer | Dan McGee <dan@archlinux.org> | 2011-04-24 10:48:33 -0500 |
commit | 31e55b8049ed001a993441f3efc8ffebdf360061 (patch) | |
tree | ef01f59eed8cdbf5d5e9f76c1500b9ef30ed67e9 /lib/libalpm/be_package.c | |
parent | a7d33d0c36420462b3de5c7e2f8327ddbda2a129 (diff) |
-rw-r--r-- | lib/libalpm/be_package.c | 6 |
diff --git a/lib/libalpm/be_package.c b/lib/libalpm/be_package.c index 8a6ed6c4..6e65c7dd 100644 --- a/lib/libalpm/be_package.c +++ b/lib/libalpm/be_package.c @@ -243,18 +243,12 @@ static pmpkg_t *pkg_load(const char *pkgfile, int full) /* attempt to stat the package file, ensure it exists */ if(stat(pkgfile, &st) == 0) { - int sig_ret; - newpkg = _alpm_pkg_new(); if(newpkg == NULL) { RET_ERR(PM_ERR_MEMORY, NULL); } newpkg->filename = strdup(pkgfile); newpkg->size = st.st_size; - - /* TODO: do something with ret value */ - sig_ret = _alpm_load_signature(pkgfile, &(newpkg->pgpsig)); - (void)sig_ret; } else { /* couldn't stat the pkgfile, return an error */ RET_ERR(PM_ERR_PKG_OPEN, NULL); |