shithub: lwext4

Download patch

ref: 6a7cf51891c3d0eba229765c98832ccd3fc9f3f5
parent: d4928d37c05debac1e5cbe22d7267f95dd2d5dc8
author: gkostka <kostka.grzegorz@gmail.com>
date: Tue Oct 27 16:47:21 EDT 2015

Fix compile warnings

--- a/lwext4/ext4_fs.c
+++ b/lwext4/ext4_fs.c
@@ -1278,7 +1278,7 @@
 static int ext4_fs_get_inode_data_block_idx(struct ext4_inode_ref *inode_ref,
 				       uint64_t iblock, ext4_fsblk_t *fblock,
 				       bool extent_create,
-				       bool support_unwritten)
+				       bool support_unwritten __unused)
 {
 	struct ext4_fs *fs = inode_ref->fs;