svn rev #24583: trunk/src/ lib/crypto/krb/dk/ lib/gssapi/krb5/ plugins/kdb/ldap/libkdb_ldap/

ghudson@MIT.EDU ghudson at MIT.EDU
Mon Dec 20 12:48:07 EST 2010


http://src.mit.edu/fisheye/changelog/krb5/?cs=24583
Commit By: ghudson
Log Message:
Eliminate some unused variable warnings.



Changed Files:
U   trunk/src/lib/crypto/krb/dk/checksum_hmac.c
U   trunk/src/lib/gssapi/krb5/gssapi_krb5.c
U   trunk/src/lib/gssapi/krb5/set_allowable_enctypes.c
U   trunk/src/plugins/kdb/ldap/libkdb_ldap/ldap_pwd_policy.c
Modified: trunk/src/lib/crypto/krb/dk/checksum_hmac.c
===================================================================
--- trunk/src/lib/crypto/krb/dk/checksum_hmac.c	2010-12-16 21:52:09 UTC (rev 24582)
+++ trunk/src/lib/crypto/krb/dk/checksum_hmac.c	2010-12-20 17:48:06 UTC (rev 24583)
@@ -38,7 +38,6 @@
                     const krb5_crypto_iov *data, size_t num_data,
                     krb5_data *output)
 {
-    const struct krb5_keytypes *ktp;
     const struct krb5_enc_provider *enc = ctp->enc;
     krb5_error_code ret;
     unsigned char constantdata[K5CLENGTH];

Modified: trunk/src/lib/gssapi/krb5/gssapi_krb5.c
===================================================================
--- trunk/src/lib/gssapi/krb5/gssapi_krb5.c	2010-12-16 21:52:09 UTC (rev 24582)
+++ trunk/src/lib/gssapi/krb5/gssapi_krb5.c	2010-12-20 17:48:06 UTC (rev 24583)
@@ -451,6 +451,7 @@
 
 /*
  * gss_set_sec_context_option() methods
+ * (Disabled until we have something to populate the array.)
  */
 #if 0
 static struct {
@@ -466,7 +467,9 @@
                                  const gss_OID desired_object,
                                  const gss_buffer_t value)
 {
+#if 0
     size_t i;
+#endif
 
     if (minor_status == NULL)
         return GSS_S_CALL_INACCESSIBLE_WRITE;

Modified: trunk/src/lib/gssapi/krb5/set_allowable_enctypes.c
===================================================================
--- trunk/src/lib/gssapi/krb5/set_allowable_enctypes.c	2010-12-16 21:52:09 UTC (rev 24582)
+++ trunk/src/lib/gssapi/krb5/set_allowable_enctypes.c	2010-12-20 17:48:06 UTC (rev 24583)
@@ -70,7 +70,6 @@
     OM_uint32 major_status;
     krb5_gss_cred_id_t cred;
     krb5_error_code kerr = 0;
-    OM_uint32 temp_status;
     struct krb5_gss_set_allowable_enctypes_req *req;
 
     /* Assume a failure */

Modified: trunk/src/plugins/kdb/ldap/libkdb_ldap/ldap_pwd_policy.c
===================================================================
--- trunk/src/plugins/kdb/ldap/libkdb_ldap/ldap_pwd_policy.c	2010-12-16 21:52:09 UTC (rev 24582)
+++ trunk/src/plugins/kdb/ldap/libkdb_ldap/ldap_pwd_policy.c	2010-12-20 17:48:06 UTC (rev 24583)
@@ -198,7 +198,6 @@
                 osa_policy_ent_t pol_entry)
 {
     int st = 0;
-    char *pol_dn;
 
     pol_entry->name = strdup(pol_name);
     CHECK_NULL(pol_entry->name);




More information about the cvs-krb5 mailing list