summaryrefslogtreecommitdiff
path: root/lib/libalpm/signing.c
diff options
context:
space:
mode:
authorDan McGee <dan@archlinux.org>2011-08-24 23:19:06 -0500
committerDan McGee <dan@archlinux.org>2011-08-25 16:12:49 -0500
commite1dce078b247142f7db80bf2d338e431df34691e (patch)
treee6b258950b519b714dfc4bd43da9f141228fadbd /lib/libalpm/signing.c
parent6aa9fdce5ac59f4137567c17043fdd9e73b03518 (diff)
Remove argument from check_pgp_helper
This one wasn't all that necessary as we only used it in one place in the function, which can be checked easily enough at the call site. Signed-off-by: Dan McGee <dan@archlinux.org>
Diffstat (limited to 'lib/libalpm/signing.c')
-rw-r--r--lib/libalpm/signing.c7
1 files changed, 1 insertions, 6 deletions
diff --git a/lib/libalpm/signing.c b/lib/libalpm/signing.c
index 4428b543..8db4a7b2 100644
--- a/lib/libalpm/signing.c
+++ b/lib/libalpm/signing.c
@@ -437,8 +437,7 @@ char *_alpm_sigpath(alpm_handle_t *handle, const char *path)
}
int _alpm_check_pgp_helper(alpm_handle_t *handle, const char *path,
- const char *base64_sig, int optional, int marginal, int unknown,
- enum _alpm_errno_t invalid_err)
+ const char *base64_sig, int optional, int marginal, int unknown)
{
alpm_sigresult_t result;
int ret;
@@ -496,10 +495,6 @@ int _alpm_check_pgp_helper(alpm_handle_t *handle, const char *path,
break;
}
}
-
- if(ret) {
- handle->pm_errno = invalid_err;
- }
}
alpm_sigresult_cleanup(&result);