chiark / gitweb /
journal: fix unitialized var
[elogind.git] / src / journal / journal-verify.c
index 7c99d44838b3608c8f80176dd65a050932cf104d..ad96cca4778ac20bb3c560332b2a87ef3e306560 100644 (file)
@@ -38,7 +38,6 @@
  * - Allow building without libgcrypt
  * - check with sparse
  * - 64bit conversions
- * - verification should use MAP_PRIVATE
  *
  * */
 
@@ -316,6 +315,7 @@ static int verify_data(
         if (r < 0)
                 return r;
 
+        i = 1;
         while (i < n) {
                 uint64_t next, m, j;