summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorLennart Poettering <lennart@poettering.net>2012-08-16 17:22:58 +0200
committerLennart Poettering <lennart@poettering.net>2012-08-16 17:22:58 +0200
commit2a7273ef923e23e8444d556ec8de420f39b1311f (patch)
tree7b5c6decc769aba47fa7ef2a7ff4afdb0a69b99d
parentf5028bfaf06b58a59d45fcd875dced1413703999 (diff)
journal: fix unitialized var
-rw-r--r--src/journal/journal-verify.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/journal/journal-verify.c b/src/journal/journal-verify.c
index c68a22e81a..ad96cca477 100644
--- a/src/journal/journal-verify.c
+++ b/src/journal/journal-verify.c
@@ -315,6 +315,7 @@ static int verify_data(
if (r < 0)
return r;
+ i = 1;
while (i < n) {
uint64_t next, m, j;