diff options
author | Ezra Peisach <epeisach@mit.edu> | 2002-07-15 16:26:12 +0000 |
---|---|---|
committer | Ezra Peisach <epeisach@mit.edu> | 2002-07-15 16:26:12 +0000 |
commit | a0ea73af81ab89b51f574e4eb454f86c5a7a67d3 (patch) | |
tree | f9bf715767dea297cee79850333eaa7110d8866f /src/kadmin | |
parent | 5b4412754482689504843ad184aa95e0491857a5 (diff) | |
download | krb5-a0ea73af81ab89b51f574e4eb454f86c5a7a67d3.tar.gz krb5-a0ea73af81ab89b51f574e4eb454f86c5a7a67d3.tar.xz krb5-a0ea73af81ab89b51f574e4eb454f86c5a7a67d3.zip |
* dump.c (dump_ov_princ): Remove variable set but unused
git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@14650 dc483132-0cff-0310-8789-dd5450dbe970
Diffstat (limited to 'src/kadmin')
-rw-r--r-- | src/kadmin/dbutil/ChangeLog | 4 | ||||
-rw-r--r-- | src/kadmin/dbutil/dump.c | 6 |
2 files changed, 6 insertions, 4 deletions
diff --git a/src/kadmin/dbutil/ChangeLog b/src/kadmin/dbutil/ChangeLog index af9b184969..550d91a446 100644 --- a/src/kadmin/dbutil/ChangeLog +++ b/src/kadmin/dbutil/ChangeLog @@ -1,3 +1,7 @@ +2002-07-15 Ezra Peisach <epeisach@bu.edu> + + * dump.c (dump_ov_princ): Remove variable set but unused. + 2002-04-05 Ken Raeburn <raeburn@mit.edu> * kdb5_stash.c (kdb5_stash): Call krb5_c_valid_enctype instead of diff --git a/src/kadmin/dbutil/dump.c b/src/kadmin/dbutil/dump.c index 2a74c48c7f..b3198a8c17 100644 --- a/src/kadmin/dbutil/dump.c +++ b/src/kadmin/dbutil/dump.c @@ -926,7 +926,7 @@ static void print_key_data(FILE *f, krb5_key_data *key_data) static krb5_error_code dump_ov_princ(krb5_pointer ptr, krb5_db_entry *kdb) { char *princstr; - int x, y, foundcrc, ret; + int x, y, foundcrc; struct dump_args *arg; krb5_tl_data tl_data; osa_princ_ent_rec adb; @@ -944,7 +944,7 @@ static krb5_error_code dump_ov_princ(krb5_pointer ptr, krb5_db_entry *kdb) * comment in server_kdb.c to help decide. */ tl_data.tl_data_type = KRB5_TL_KADM_DATA; - if ((ret = krb5_dbe_lookup_tl_data(arg->kcontext, kdb, &tl_data)) + if (krb5_dbe_lookup_tl_data(arg->kcontext, kdb, &tl_data) || (tl_data.tl_data_length == 0)) return 0; @@ -1006,7 +1006,6 @@ dump_db(argc, argv) { FILE *f; struct dump_args arglist; - int error; char *programname; char *ofile; krb5_error_code kret, retval; @@ -1023,7 +1022,6 @@ dump_db(argc, argv) if (strrchr(programname, (int) '/')) programname = strrchr(argv[0], (int) '/') + 1; ofile = (char *) NULL; - error = 0; dump = &r1_3_version; arglist.verbose = 0; new_mkey_file = 0; |