[PATCH] dload: Remove unused ABORT_SIGINT

Chris Down chris at chrisdown.name
Wed Apr 6 03:44:39 UTC 2022


The last user of ABORT_SIGINT was removed in commit 84723cab5dfc
("Cleanup the old sequential download code"), and this isn't exported as
part of the public API.

Signed-off-by: Chris Down <chris at chrisdown.name>
---
 lib/libalpm/dload.c | 3 +--
 1 file changed, 1 insertion(+), 2 deletions(-)

diff --git a/lib/libalpm/dload.c b/lib/libalpm/dload.c
index 7c27c3ea..4fa17b35 100644
--- a/lib/libalpm/dload.c
+++ b/lib/libalpm/dload.c
@@ -153,8 +153,7 @@ static char *get_fullpath(const char *path, const char *filename,
 }
 
 enum {
-	ABORT_SIGINT = 1,
-	ABORT_OVER_MAXFILESIZE
+	ABORT_OVER_MAXFILESIZE = 1,
 };
 
 static int dload_interrupted;
-- 
2.35.1



More information about the pacman-dev mailing list