summaryrefslogtreecommitdiffstats
path: root/usr.sbin
diff options
context:
space:
mode:
authored <ed@FreeBSD.org>2010-01-02 11:06:11 +0000
committered <ed@FreeBSD.org>2010-01-02 11:06:11 +0000
commite59ff437cc7b3017493bcea4b16501e134d92fbd (patch)
treebbb1de1cd0fa42df706e7d81a4c52ba25af870bb /usr.sbin
parentec19ea84b8117fa04d9e5cf9d8945e0bacc2596e (diff)
downloadFreeBSD-src-e59ff437cc7b3017493bcea4b16501e134d92fbd.zip
FreeBSD-src-e59ff437cc7b3017493bcea4b16501e134d92fbd.tar.gz
Mark ftwv as __unused. This compare function does not need it.
Diffstat (limited to 'usr.sbin')
-rw-r--r--usr.sbin/snapinfo/snapinfo.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/usr.sbin/snapinfo/snapinfo.c b/usr.sbin/snapinfo/snapinfo.c
index 55b54a5..3ee66da 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) {
OpenPOWER on IntegriCloud