diff options
author | Mattias Andrée <maandree@operamail.com> | 2015-12-03 14:38:33 +0100 |
---|---|---|
committer | Mattias Andrée <maandree@operamail.com> | 2015-12-03 14:38:33 +0100 |
commit | 0eae63eb400a7afc60514aa4afe213aacd412420 (patch) | |
tree | ccdea05578a68ba8ea069c0000d5a6b39fe1bf64 | |
parent | m (diff) | |
download | librarian-0eae63eb400a7afc60514aa4afe213aacd412420.tar.gz librarian-0eae63eb400a7afc60514aa4afe213aacd412420.tar.bz2 librarian-0eae63eb400a7afc60514aa4afe213aacd412420.tar.xz |
m
Signed-off-by: Mattias Andrée <maandree@operamail.com>
-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; |