krb5 commit: Eliminate unused variables
Greg Hudson
ghudson at MIT.EDU
Fri Mar 15 02:32:17 EDT 2013
https://github.com/krb5/krb5/commit/5bd6230bb2474bbed754c6d95eeee9c47c461d2c
commit 5bd6230bb2474bbed754c6d95eeee9c47c461d2c
Author: Greg Hudson <ghudson at mit.edu>
Date: Fri Mar 15 02:22:42 2013 -0400
Eliminate unused variables
src/lib/gssapi/mechglue/g_inq_cred.c | 1 -
src/plugins/kdb/ldap/libkdb_ldap/ldap_pwd_policy.c | 2 +-
2 files changed, 1 insertions(+), 2 deletions(-)
diff --git a/src/lib/gssapi/mechglue/g_inq_cred.c b/src/lib/gssapi/mechglue/g_inq_cred.c
index dc69c50..c8e45fe 100644
--- a/src/lib/gssapi/mechglue/g_inq_cred.c
+++ b/src/lib/gssapi/mechglue/g_inq_cred.c
@@ -55,7 +55,6 @@ gss_OID_set * mechanisms;
gss_mechanism mech;
gss_cred_id_t mech_cred;
gss_name_t mech_name;
- int i;
gss_OID_set mechs = NULL;
/* Initialize outputs. */
diff --git a/src/plugins/kdb/ldap/libkdb_ldap/ldap_pwd_policy.c b/src/plugins/kdb/ldap/libkdb_ldap/ldap_pwd_policy.c
index 011b2a0..433fb75 100644
--- a/src/plugins/kdb/ldap/libkdb_ldap/ldap_pwd_policy.c
+++ b/src/plugins/kdb/ldap/libkdb_ldap/ldap_pwd_policy.c
@@ -362,7 +362,7 @@ cleanup:
krb5_error_code
krb5_ldap_delete_password_policy(krb5_context context, char *policy)
{
- int mask = 0, refcount;
+ int mask = 0;
char *policy_dn = NULL, *class[] = {"krbpwdpolicy", NULL};
krb5_error_code st=0;
LDAP *ld=NULL;
More information about the cvs-krb5
mailing list