summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorgkostka <kostka.grzegorz@gmail.com>2015-09-26 17:53:24 +0200
committergkostka <kostka.grzegorz@gmail.com>2015-09-26 17:53:24 +0200
commit14560adaaf1776b4dd881d22027c6598b2792e61 (patch)
tree1e20df2095c7e0d154918414bd80eee3c4ba0af0
parent1fcd1b0075c24a5627233fab0fc468040afde8f2 (diff)
Remove compilation warning (maybe-uninitialized)
-rw-r--r--lwext4/ext4.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/lwext4/ext4.c b/lwext4/ext4.c
index 039b8d4..f42f5cc 100644
--- a/lwext4/ext4.c
+++ b/lwext4/ext4.c
@@ -582,7 +582,7 @@ static int ext4_generic_open2(ext4_file *f, const char *path, int flags,
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;