When <mntent.h> does not exist, some parameters may not be used.

(Logical change 1.504)
edge.strict_endians
!uv 2004-08-20 11:58:24 +00:00
parent c73b9f1c8f
commit b15ad70b99
1 changed files with 2 additions and 1 deletions

View File

@ -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