Do only one call to GetVersionEx in the common case.
[pspp] / lib / fts.c
index 2893e6695961b1f0fbcfb2b35ed6691684da0c33..041f9f07046987be1342ee018f5916f53b0a3186 100644 (file)
--- a/lib/fts.c
+++ b/lib/fts.c
@@ -726,8 +726,10 @@ leaf_optimization_applies (int dir_fd)
 }
 
 #else
-static bool dirent_inode_sort_may_be_useful (int dir_fd) { return true; }
-static bool leaf_optimization_applies (int dir_fd) { return false; }
+static bool
+dirent_inode_sort_may_be_useful (int dir_fd ATTRIBUTE_UNUSED) { return true; }
+static bool
+leaf_optimization_applies (int dir_fd ATTRIBUTE_UNUSED) { return false; }
 #endif
 
 #if GNULIB_FTS