diff --git a/ntfsprogs/mkntfs.c b/ntfsprogs/mkntfs.c index 595163a8..69574b65 100644 --- a/ntfsprogs/mkntfs.c +++ b/ntfsprogs/mkntfs.c @@ -1437,10 +1437,10 @@ static int mkntfs_attr_find(const ATTR_TYPES type, const ntfschar *name, * EIO I/O error or corrupt data structures found. * ENOMEM Not enough memory to allocate necessary buffers. */ -int mkntfs_attr_lookup(const ATTR_TYPES type, const ntfschar *name, +static int mkntfs_attr_lookup(const ATTR_TYPES type, const ntfschar *name, const u32 name_len, const IGNORE_CASE_BOOL ic, - const VCN lowest_vcn, const u8 *val, const u32 val_len, - ntfs_attr_search_ctx *ctx) + const VCN lowest_vcn __attribute__ ((unused)), const u8 *val, + const u32 val_len, ntfs_attr_search_ctx *ctx) { ntfs_inode *base_ni; @@ -3509,6 +3509,9 @@ static void mkntfs_fill_device_with_zeroes(void) Qprintf(" - Done.\n"); } +/** + * create_file_volume - + */ static void create_file_volume(MFT_RECORD *m, MFT_REF root_ref, VOLUME_FLAGS fl) { int i, err;