From: Michael Tremer Date: Mon, 5 Sep 2022 13:47:30 +0000 (+0000) Subject: compress: Actually walk through the archives X-Git-Tag: 0.9.28~331 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=0e25bebbb6fcc647cb038a42141e3268fcdf23bb;p=pakfire.git compress: Actually walk through the archives Signed-off-by: Michael Tremer --- 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;