[pacman-dev] [PATCH 1/5] libalpm: remove useless if

morganamilo morganamilo at archlinux.org
Fri Jan 1 16:57:44 UTC 2021


---
 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;
-			}
-
 			if(payload->destfile_name) {
 				const char *filename = mbasename(payload->destfile_name);
 				filepath = _alpm_filecache_find(handle, filename);
-- 
2.30.0


More information about the pacman-dev mailing list