aboutsummaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorMattias Andrée <maandree@operamail.com>2015-12-03 14:38:33 +0100
committerMattias Andrée <maandree@operamail.com>2015-12-03 14:38:33 +0100
commit0eae63eb400a7afc60514aa4afe213aacd412420 (patch)
treeccdea05578a68ba8ea069c0000d5a6b39fe1bf64 /src
parentm (diff)
downloadlibrarian-0eae63eb400a7afc60514aa4afe213aacd412420.tar.gz
librarian-0eae63eb400a7afc60514aa4afe213aacd412420.tar.bz2
librarian-0eae63eb400a7afc60514aa4afe213aacd412420.tar.xz
m
Signed-off-by: Mattias Andrée <maandree@operamail.com>
Diffstat (limited to '')
-rw-r--r--src/librarian.c5
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;