[PATCH v3 02/15] cifscreds: add unused attribute to argv parm in cifscreds_clearall

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



...to eliminate this warning:

cifscreds.c: In function ‘cifscreds_clearall’:
cifscreds.c:422:47: warning: unused parameter ‘argv’

Signed-off-by: Jeff Layton <jlayton@xxxxxxxxx>
---
 cifscreds.c |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/cifscreds.c b/cifscreds.c
index f21a47f..d771056 100644
--- a/cifscreds.c
+++ b/cifscreds.c
@@ -419,7 +419,7 @@ static int cifscreds_clear(int argc, char *argv[])
 }
 
 /* clearall command handler */
-static int cifscreds_clearall(int argc, char *argv[])
+static int cifscreds_clearall(int argc, char *argv[] __attribute__ ((unused)))
 {
 	key_serial_t key;
 	int count = 0, errors = 0;
-- 
1.7.7.4

--
To unsubscribe from this list: send the line "unsubscribe linux-cifs" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html


[Linux USB Devel]     [Video for Linux]     [Linux Audio Users]     [Yosemite News]     [Linux Kernel]     [Linux SCSI]

  Powered by Linux