|
Zbigniew Jędrzejewski-Szmek |
126222 |
From 029cd4a129832bcc750206deb05695da350efe77 Mon Sep 17 00:00:00 2001
|
|
Zbigniew Jędrzejewski-Szmek |
126222 |
From: Thomas Hindoe Paaboel Andersen <phomes@gmail.com>
|
|
Zbigniew Jędrzejewski-Szmek |
126222 |
Date: Tue, 17 Dec 2013 20:15:45 +0100
|
|
Zbigniew Jędrzejewski-Szmek |
126222 |
Subject: [PATCH] journal-file.c: remove redundant assignment of variable
|
|
Zbigniew Jędrzejewski-Szmek |
126222 |
|
|
Zbigniew Jędrzejewski-Szmek |
126222 |
we also do 'last_index = (uint64_t) -1;' at the end of the while
|
|
Zbigniew Jędrzejewski-Szmek |
126222 |
loop so there is no reason to also do it here.
|
|
Zbigniew Jędrzejewski-Szmek |
126222 |
---
|
|
Zbigniew Jędrzejewski-Szmek |
126222 |
src/journal/journal-file.c | 2 --
|
|
Zbigniew Jędrzejewski-Szmek |
126222 |
1 file changed, 2 deletions(-)
|
|
Zbigniew Jędrzejewski-Szmek |
126222 |
|
|
Zbigniew Jędrzejewski-Szmek |
126222 |
diff --git a/src/journal/journal-file.c b/src/journal/journal-file.c
|
|
Zbigniew Jędrzejewski-Szmek |
126222 |
index 71ef092..5ef6a2a 100644
|
|
Zbigniew Jędrzejewski-Szmek |
126222 |
--- a/src/journal/journal-file.c
|
|
Zbigniew Jędrzejewski-Szmek |
126222 |
+++ b/src/journal/journal-file.c
|
|
Zbigniew Jędrzejewski-Szmek |
126222 |
@@ -1628,8 +1628,6 @@ static int generic_array_bisect(
|
|
Zbigniew Jędrzejewski-Szmek |
126222 |
else
|
|
Zbigniew Jędrzejewski-Szmek |
126222 |
left = y + 1;
|
|
Zbigniew Jędrzejewski-Szmek |
126222 |
}
|
|
Zbigniew Jędrzejewski-Szmek |
126222 |
-
|
|
Zbigniew Jędrzejewski-Szmek |
126222 |
- last_index = (uint64_t) -1;
|
|
Zbigniew Jędrzejewski-Szmek |
126222 |
}
|
|
Zbigniew Jędrzejewski-Szmek |
126222 |
|
|
Zbigniew Jędrzejewski-Szmek |
126222 |
for (;;) {
|