From e59ff437cc7b3017493bcea4b16501e134d92fbd Mon Sep 17 00:00:00 2001 From: ed Date: Sat, 2 Jan 2010 11:06:11 +0000 Subject: [PATCH] Mark ftwv as __unused. This compare function does not need it. --- usr.sbin/snapinfo/snapinfo.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/usr.sbin/snapinfo/snapinfo.c b/usr.sbin/snapinfo/snapinfo.c index 55b54a546b26..3ee66da9317a 100644 --- a/usr.sbin/snapinfo/snapinfo.c +++ b/usr.sbin/snapinfo/snapinfo.c @@ -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) {