From 0e25bebbb6fcc647cb038a42141e3268fcdf23bb Mon Sep 17 00:00:00 2001 From: Michael Tremer Date: Mon, 5 Sep 2022 13:47:30 +0000 Subject: [PATCH] compress: Actually walk through the archives Signed-off-by: Michael Tremer --- src/libpakfire/compress.c | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/src/libpakfire/compress.c b/src/libpakfire/compress.c index 0621cf069..f243520ec 100644 --- a/src/libpakfire/compress.c +++ b/src/libpakfire/compress.c @@ -534,6 +534,10 @@ int pakfire_walk(struct pakfire* pakfire, struct archive* archive, // Handle the return code switch (r) { + // Fall through if everything is okay + case ARCHIVE_OK: + break; + // Return OK when we reached the end of the archive case ARCHIVE_EOF: return 0; -- 2.47.3