[systemd-commits] src/journal

Thomas H.P. Andersen phomes at kemper.freedesktop.org
Tue Dec 17 11:54:10 PST 2013


 src/journal/journal-file.c |    2 --
 1 file changed, 2 deletions(-)

New commits:
commit 0d647f7f73fa17074a1df81e2bdd00877554e436
Author: Thomas Hindoe Paaboel Andersen <phomes at gmail.com>
Date:   Tue Dec 17 20:15:45 2013 +0100

    journal-file.c: remove redundant assignment of variable
    
    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.

diff --git a/src/journal/journal-file.c b/src/journal/journal-file.c
index 9e89cb9..b7e5cf0 100644
--- a/src/journal/journal-file.c
+++ b/src/journal/journal-file.c
@@ -1628,8 +1628,6 @@ static int generic_array_bisect(
                                         else
                                                 left = y + 1;
                                 }
-
-                                last_index = (uint64_t) -1;
                         }
 
                         for (;;) {



More information about the systemd-commits mailing list