From: Greg Hudson Date: Tue, 22 Jun 2010 13:09:58 +0000 (+0000) Subject: Remove some dead code in kdb5_stash() left behind by r24142 X-Git-Tag: krb5-1.9-beta1~183 X-Git-Url: http://git.tremily.us/?a=commitdiff_plain;h=e5bad0c4a9c23a71913329d191658df994050ec8;p=krb5.git Remove some dead code in kdb5_stash() left behind by r24142 git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@24144 dc483132-0cff-0310-8789-dd5450dbe970 --- diff --git a/src/kadmin/dbutil/kdb5_stash.c b/src/kadmin/dbutil/kdb5_stash.c index 0da44ac4a..b09c9dc17 100644 --- a/src/kadmin/dbutil/kdb5_stash.c +++ b/src/kadmin/dbutil/kdb5_stash.c @@ -77,13 +77,9 @@ kdb5_stash(argc, argv) extern int optind; int optchar; krb5_error_code retval; - char *dbname = (char *) NULL; - char *mkey_name = 0; char *keyfile = 0; krb5_kvno mkey_kvno; - dbname = global_params.dbname; - mkey_name = global_params.mkey_name; keyfile = global_params.stash_file; optind = 1; @@ -145,11 +141,6 @@ kdb5_stash(argc, argv) exit_status++; return; } - if (retval) { - com_err(progname, retval, "closing database '%s'", dbname); - exit_status++; return; - } - exit_status = 0; return; }