svn commit: r201388 - head/usr.sbin/snapinfo

Ed Schouten ed at FreeBSD.org
Sat Jan 2 11:06:12 UTC 2010


Author: ed
Date: Sat Jan  2 11:06:11 2010
New Revision: 201388
URL: http://svn.freebsd.org/changeset/base/201388

Log:
  Mark ftwv as __unused. This compare function does not need it.

Modified:
  head/usr.sbin/snapinfo/snapinfo.c

Modified: head/usr.sbin/snapinfo/snapinfo.c
==============================================================================
--- head/usr.sbin/snapinfo/snapinfo.c	Sat Jan  2 11:05:34 2010	(r201387)
+++ head/usr.sbin/snapinfo/snapinfo.c	Sat Jan  2 11:06:11 2010	(r201388)
@@ -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) {


More information about the svn-src-head mailing list