fd_ring_clear (&sp->fts_fd_ring);
+#if GNULIB_FTS
if (sp->fts_leaf_optimization_works_ht)
hash_free (sp->fts_leaf_optimization_works_ht);
+#endif
free_dir (sp);
static bool leaf_optimization_applies (int dir_fd) { return false; }
#endif
+#if GNULIB_FTS
/* link-count-optimization entry:
map an stat.st_dev number to a boolean: leaf_optimization_works */
struct LCO_ent
return opt_ok;
}
+#endif
/*
* Special case of "/" at the end of the file name so that slashes aren't