chiark / gitweb /
journal-file.c: remove redundant assignment of variable
authorThomas Hindoe Paaboel Andersen <phomes@gmail.com>
Tue, 17 Dec 2013 19:15:45 +0000 (20:15 +0100)
committerThomas Hindoe Paaboel Andersen <phomes@gmail.com>
Tue, 17 Dec 2013 19:55:20 +0000 (20:55 +0100)
we also do 'last_index = (uint64_t) -1;' at the end of the while
loop so there is no reason to also do it here.

src/journal/journal-file.c

index 9e89cb96992250c748d5dd3f990e2213d8d1ac09..b7e5cf0ab5bff9576aa74b2e155874f62e80612b 100644 (file)
@@ -1628,8 +1628,6 @@ static int generic_array_bisect(
                                         else
                                                 left = y + 1;
                                 }
-
-                                last_index = (uint64_t) -1;
                         }
 
                         for (;;) {