svn commit: r347223 - head/stand/common

Toomas Soome tsoome at FreeBSD.org
Tue May 7 10:01:46 UTC 2019


Author: tsoome
Date: Tue May  7 10:01:45 2019
New Revision: 347223
URL: https://svnweb.freebsd.org/changeset/base/347223

Log:
  command_bcache() does not use argv
  
  Therefore mark argv __unused.

Modified:
  head/stand/common/bcache.c

Modified: head/stand/common/bcache.c
==============================================================================
--- head/stand/common/bcache.c	Tue May  7 08:31:54 2019	(r347222)
+++ head/stand/common/bcache.c	Tue May  7 10:01:45 2019	(r347223)
@@ -467,7 +467,7 @@ bcache_invalidate(struct bcache *bc, daddr_t blkno)
 COMMAND_SET(bcachestat, "bcachestat", "get disk block cache stats", command_bcache);
 
 static int
-command_bcache(int argc, char *argv[])
+command_bcache(int argc, char *argv[] __unused)
 {
     if (argc != 1) {
 	command_errmsg = "wrong number of arguments";


More information about the svn-src-head mailing list