[krb5-auth-dialog] Mark pk_userid and pk_anchors as G_GNUC_UNUSED



commit ac8611db0d9be2280e95fd654d57843868df2b39
Author: Guido Günther <agx sigxcpu org>
Date:   Tue Sep 15 17:30:26 2009 +0200

    Mark pk_userid and pk_anchors as G_GNUC_UNUSED
    
    they're only used with MIT Kerberos.

 src/krb5-auth-dialog.c |    3 ++-
 1 files changed, 2 insertions(+), 1 deletions(-)
---
diff --git a/src/krb5-auth-dialog.c b/src/krb5-auth-dialog.c
index af451f3..5f6f2ec 100644
--- a/src/krb5-auth-dialog.c
+++ b/src/krb5-auth-dialog.c
@@ -522,7 +522,8 @@ out:
 static void
 ka_set_ticket_options(KaApplet* applet, krb5_context context,
 		      krb5_get_init_creds_opt *out,
-		      const char* pk_userid, const char* pk_anchors)
+		      const char* pk_userid G_GNUC_UNUSED,
+		      const char* pk_anchors G_GNUC_UNUSED)
 {
 	gboolean flag;
 #ifdef HAVE_KRB5_GET_INIT_CREDS_OPT_SET_DEFAULT_FLAGS



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