From b15ad70b9921b537909ffcf55c9fd75d03990f01 Mon Sep 17 00:00:00 2001 From: !uv Date: Fri, 20 Aug 2004 11:58:24 +0000 Subject: [PATCH] When does not exist, some parameters may not be used. (Logical change 1.504) --- libntfs/volume.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/libntfs/volume.c b/libntfs/volume.c index 66622eff..75bae327 100644 --- a/libntfs/volume.c +++ b/libntfs/volume.c @@ -1122,7 +1122,8 @@ static int ntfs_mntent_check(const char *file, unsigned long *mnt_flags) * * On error return -1 with errno set to the error code. */ -int ntfs_check_if_mounted(const char *file, unsigned long *mnt_flags) +int ntfs_check_if_mounted(const char *file __attribute__((unused)), + unsigned long *mnt_flags) { *mnt_flags = 0; #ifdef HAVE_MNTENT_H