Add a few more unused-args annotations

There are no warnings now with -Wextra (which turns on -Wunused-…).
This commit is contained in:
Iustin Pop
2016-05-01 04:19:19 +02:00
parent a0f5b83bd7
commit 58a04729fa

5
mt.c
View File

@@ -749,7 +749,10 @@ static const char *st_formats[] = {
"m", "v", "p", "x", "a", "y", "q", "z"};
/* Show the options if visible in sysfs */
static int do_show_options(int mtfd, cmdef_tr *cmd, int argc, char **argv)
static int do_show_options(int mtfd,
cmdef_tr *cmd __attribute__((unused)),
int argc __attribute__((unused)),
char **argv __attribute__((unused)))
{
int i, fd, options, tapeminor, tapeno, tapemode;
struct stat stat;