Changes by: flatcap
Update of /cvsroot/linux-ntfs/ntfsprogs/ntfsprogs
In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv32697
Modified Files:
mkntfs.c
Log Message:
fix a build warning
Index: mkntfs.c
===================================================================
RCS file: /cvsroot/linux-ntfs/ntfsprogs/ntfsprogs/mkntfs.c,v
retrieving revision 1.66
retrieving revision 1.67
diff -u -p -r1.66 -r1.67
--- mkntfs.c 25 Sep 2005 19:22:11 -0000 1.66
+++ mkntfs.c 27 Sep 2005 15:25:19 -0000 1.67
@@ -1437,10 +1437,10 @@ static int mkntfs_attr_find(const ATTR_T
* 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_zero
Qprintf(" - Done.\n");
}
+/**
+ * create_file_volume -
+ */
static void create_file_volume(MFT_RECORD *m, MFT_REF root_ref, VOLUME_FLAGS fl)
{
int i, err;
|