shithub: lwext4

Download patch

ref: 6c6fb14455806704ea7814a31747ec551cb39928
parent: 88c5f9212e9eb13e9e17ae368762b40e7b8bbe7e
author: gkostka <kostka.grzegorz@gmail.com>
date: Sun Feb 14 13:08:27 EST 2016

ext4_extent: compiler warning fix

--- a/src/ext4_extent.c
+++ b/src/ext4_extent.c
@@ -1091,7 +1091,7 @@
 			   struct ext4_extent_path **ppath,
 			   struct ext4_extent *newext, int flags)
 {
-	int depth, level, ret = 0;
+	int depth, level = 0, ret = 0;
 	struct ext4_extent_path *path = *ppath;
 	struct ext4_extent_path *npath = NULL;
 	bool ins_right_leaf = false;