Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 7 May 2019 10:01:45 +0000 (UTC)
From:      Toomas Soome <tsoome@FreeBSD.org>
To:        src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-head@freebsd.org
Subject:   svn commit: r347223 - head/stand/common
Message-ID:  <201905071001.x47A1jQe067506@repo.freebsd.org>

next in thread | raw e-mail | index | archive | help
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";



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201905071001.x47A1jQe067506>