svn rev #24144: trunk/src/kadmin/dbutil/

ghudson@MIT.EDU ghudson at MIT.EDU
Tue Jun 22 09:09:58 EDT 2010


http://src.mit.edu/fisheye/changelog/krb5/?cs=24144
Commit By: ghudson
Log Message:
Remove some dead code in kdb5_stash() left behind by r24142.



Changed Files:
U   trunk/src/kadmin/dbutil/kdb5_stash.c
Modified: trunk/src/kadmin/dbutil/kdb5_stash.c
===================================================================
--- trunk/src/kadmin/dbutil/kdb5_stash.c	2010-06-22 12:52:03 UTC (rev 24143)
+++ trunk/src/kadmin/dbutil/kdb5_stash.c	2010-06-22 13:09:58 UTC (rev 24144)
@@ -77,13 +77,9 @@
     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 @@
         exit_status++; return;
     }
 
-    if (retval) {
-        com_err(progname, retval, "closing database '%s'", dbname);
-        exit_status++; return;
-    }
-
     exit_status = 0;
     return;
 }




More information about the cvs-krb5 mailing list