summaryrefslogtreecommitdiff
path: root/src/remove.c
diff options
context:
space:
mode:
authorEric Blake <ebb9@byu.net>2009-08-28 11:03:05 -0600
committerEric Blake <ebb9@byu.net>2009-08-28 12:56:53 -0600
commit359fa92f2a08991f261fad12b5a1809cff108e9b (patch)
tree2a511c4a9c394a507a0c4483bedb44cf2e47b7cd /src/remove.c
parent31fa922e5765a24786061a4dfbd048869457cf84 (diff)
downloadcoreutils-359fa92f2a08991f261fad12b5a1809cff108e9b.tar.xz
build: avoid unused variable warnings on cygwin
* src/copy.c (clone_file, copy_attr_by_fd, copy_attr_by_name): Mark up unused variables. * src/remove.c (dirent_inode_sort_may_be_useful): Likewise.
Diffstat (limited to 'src/remove.c')
-rw-r--r--src/remove.c5
1 files changed, 4 insertions, 1 deletions
diff --git a/src/remove.c b/src/remove.c
index 6c8613bfa..2c4a178a1 100644
--- a/src/remove.c
+++ b/src/remove.c
@@ -1311,7 +1311,10 @@ dirent_inode_sort_may_be_useful (int dir_fd)
}
}
# else /* !HAVE_STRUCT_STATFS_F_TYPE */
-static bool dirent_inode_sort_may_be_useful (int dir_fd) { return true; }
+static bool dirent_inode_sort_may_be_useful (int dir_fd ATTRIBUTE_UNUSED)
+{
+ return true;
+}
# endif /* !HAVE_STRUCT_STATFS_F_TYPE */
#endif /* HAVE_STRUCT_DIRENT_D_TYPE */