From 3a61cc0822dc04a78536ad19f77f2d3d6ea025ac Mon Sep 17 00:00:00 2001 From: Ed Schouten 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 55b54a546b2..3ee66da9317 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) {