Mark ftwv as __unused. This compare function does not need it.
This commit is contained in:
parent
9a958de54c
commit
3a61cc0822
@ -140,7 +140,7 @@ find_snapshot(struct statfs *sfs)
|
||||
|
||||
int
|
||||
compare_function(const char *path, const struct stat *st, int flags,
|
||||
struct FTW * ftwv)
|
||||
struct FTW * ftwv __unused)
|
||||
{
|
||||
|
||||
if (flags == FTW_F && st->st_ino == inode) {
|
||||
|
Loading…
Reference in New Issue
Block a user