diff --git a/kdc/kstash.c b/kdc/kstash.c index efad50439..a99f20eba 100644 --- a/kdc/kstash.c +++ b/kdc/kstash.c @@ -61,10 +61,8 @@ int main(int argc, char **argv) EncryptionKey key; FILE *f; size_t len; - int optind = 0; krb5_context context = NULL; - krb5_program_setup(&context, argc, argv, args, num_args, NULL); if(help_flag) diff --git a/lib/hdb/hdb.c b/lib/hdb/hdb.c index 3ef0570b9..105994947 100644 --- a/lib/hdb/hdb.c +++ b/lib/hdb/hdb.c @@ -46,7 +46,6 @@ hdb_next_keytype2key(krb5_context context, krb5_keytype keytype, Key **key) { - krb5_error_code ret; int i; if(*key) i = *key - e->keys.val + 1; diff --git a/lib/hdb/ndbm.c b/lib/hdb/ndbm.c index da408310d..b589712b5 100644 --- a/lib/hdb/ndbm.c +++ b/lib/hdb/ndbm.c @@ -85,7 +85,6 @@ NDBM_seq(krb5_context context, HDB *db, hdb_entry *entry, int first) DBM *d = (DBM*)db->db; datum key, value; krb5_data key_data, data; - krb5_principal principal; krb5_error_code ret; if(first)