[pacman-dev] [PATCH 1/5] libalpm: remove useless if
Allan McRae
allan at archlinux.org
Sun Jan 3 01:41:47 UTC 2021
On 2/1/21 2:57 am, morganamilo via pacman-dev wrote:
> ---
> lib/libalpm/dload.c | 4 ----
> 1 file changed, 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;
> - }
> -
Trying to figure out why this was here. Looks fine to remove.
> if(payload->destfile_name) {
> const char *filename = mbasename(payload->destfile_name);
> filepath = _alpm_filecache_find(handle, filename);
>
More information about the pacman-dev
mailing list