shithub: lwext4

Download patch

ref: 14560adaaf1776b4dd881d22027c6598b2792e61
parent: 1fcd1b0075c24a5627233fab0fc468040afde8f2
author: gkostka <[email protected]>
date: Sat Sep 26 13:53:24 EDT 2015

Remove compilation warning (maybe-uninitialized)

--- a/lwext4/ext4.c
+++ b/lwext4/ext4.c
@@ -582,7 +582,7 @@
 			      uint32_t *name_off)
 {
 	bool is_goal = false;
-	uint8_t inode_type;
+	uint8_t inode_type = EXT4_DIRENTRY_UNKNOWN;
 	uint32_t next_inode;
 
 	int r;