diff options
author | morganamilo <morganamilo@archlinux.org> | 2021-01-01 17:57:44 +0100 |
---|---|---|
committer | Allan McRae <allan@archlinux.org> | 2021-01-08 15:11:44 +0100 |
commit | 7cc8e0181fe2bde3ec1359adf697588f47af231c (patch) | |
tree | d5de3dca3af156e8eff2b92a5ca60dc52d7599dc /lib/libalpm | |
parent | 8e291e6f4b732e6ddc2ba4345b829ee524d7ceb2 (diff) | |
download | pacman-7cc8e0181fe2bde3ec1359adf697588f47af231c.tar.gz pacman-7cc8e0181fe2bde3ec1359adf697588f47af231c.tar.xz |
libalpm: remove useless if
Signed-off-by: Allan McRae <allan@archlinux.org>
Diffstat (limited to 'lib/libalpm')
-rw-r--r-- | lib/libalpm/dload.c | 4 |
1 files changed, 0 insertions, 4 deletions
diff --git a/lib/libalpm/dload.c b/lib/libalpm/dload.c index d43e6d45..d3636e18 100644 --- a/lib/libalpm/dload.c +++ b/lib/libalpm/dload.c @@ -899,10 +899,6 @@ int SYMEXPORT alpm_fetch_pkgurl(alpm_handle_t *handle, const alpm_list_t *urls, struct dload_payload *payload = i->data; char *filepath; - if(payload->signature) { - continue; - } - if(payload->destfile_name) { const char *filename = mbasename(payload->destfile_name); filepath = _alpm_filecache_find(handle, filename); |