From 0eae63eb400a7afc60514aa4afe213aacd412420 Mon Sep 17 00:00:00 2001 From: Mattias Andrée Date: Thu, 3 Dec 2015 14:38:33 +0100 Subject: m MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: Mattias Andrée --- src/librarian.c | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-) diff --git a/src/librarian.c b/src/librarian.c index 755d9f5..5c34e56 100644 --- a/src/librarian.c +++ b/src/librarian.c @@ -736,11 +736,8 @@ int main(int argc, char *argv[]) t (path == NULL); /* Find librarian files. */ - for (start_libs = 0;;) { + for (start_libs = 0; (n = libraries_ptr - start_libs);) { start_files = found_files_count; - n = libraries_ptr - start_libs; - if (n == 0) - break; if (find_librarian_files(libraries + start_libs, n, path, f_oldest)) { t (errno); goto not_found; -- cgit v1.2.3-70-g09d2