(main): remove dead code.
Coverity NetBSD CID#633 git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@17008 ec53bebd-3082-4978-b11e-865c3cabbd6b
This commit is contained in:
@@ -717,7 +717,7 @@ main(int argc, char **argv)
|
||||
HDB *db = NULL;
|
||||
int optidx = 0;
|
||||
|
||||
int type = 0;
|
||||
int type;
|
||||
|
||||
setprogname(argv[0]);
|
||||
|
||||
@@ -758,8 +758,6 @@ main(int argc, char **argv)
|
||||
"only one of `--encrypt' and `--decrypt' is meaningful");
|
||||
|
||||
if(source_type != NULL) {
|
||||
if(type != 0)
|
||||
krb5_errx(context, 1, "more than one database type specified");
|
||||
type = parse_source_type(source_type);
|
||||
if(type == 0)
|
||||
krb5_errx(context, 1, "unknown source type `%s'", source_type);
|
||||
|
Reference in New Issue
Block a user