diff options
-rw-r--r-- | src/librarian.c | 5 |
1 files changed, 1 insertions, 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; |