command_bcache() does not use argv

Therefore mark argv __unused.
This commit is contained in:
tsoome 2019-05-07 10:01:45 +00:00
parent 02751cbaa9
commit b9bb0a1f15

View File

@ -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";