[PATCH] cifs.upcall: silence unused parameter warning

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

 



cifs.upcall.c: In function ‘cifs_krb5_principal_get_realm’:
cifs.upcall.c:80:57: warning: unused parameter ‘context’ [-Wunused-parameter]

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

diff --git a/cifs.upcall.c b/cifs.upcall.c
index de92092..51af37a 100644
--- a/cifs.upcall.c
+++ b/cifs.upcall.c
@@ -76,7 +76,7 @@ typedef enum _sectype {
  *
  */
 
-static char *cifs_krb5_principal_get_realm(krb5_context context,
+static char *cifs_krb5_principal_get_realm(krb5_context context __attribute__ ((unused)),
 					   krb5_principal principal)
 {
 #ifdef HAVE_KRB5_PRINCIPAL_GET_REALM	/* Heimdal */
-- 
1.7.6.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