richardphibel / rpms / systemd

Forked from rpms/systemd 2 years ago
Clone
65878a
From cbd7e523d1bccde7fc1ad2ca18c74b8ee00f2940 Mon Sep 17 00:00:00 2001
65878a
From: Thomas Hindoe Paaboel Andersen <phomes@gmail.com>
65878a
Date: Tue, 17 Dec 2013 20:15:45 +0100
65878a
Subject: [PATCH] journal-file.c: remove redundant assignment of variable
65878a
65878a
we also do 'last_index = (uint64_t) -1;' at the end of the while
65878a
loop so there is no reason to also do it here.
65878a
---
65878a
 src/journal/journal-file.c | 2 --
65878a
 1 file changed, 2 deletions(-)
65878a
65878a
diff --git a/src/journal/journal-file.c b/src/journal/journal-file.c
65878a
index 2c0fd0c..9f04c58 100644
65878a
--- a/src/journal/journal-file.c
65878a
+++ b/src/journal/journal-file.c
65878a
@@ -1628,8 +1628,6 @@ static int generic_array_bisect(
65878a
                                         else
65878a
                                                 left = y + 1;
65878a
                                 }
65878a
-
65878a
-                                last_index = (uint64_t) -1;
65878a
                         }
65878a
 
65878a
                         for (;;) {