From 54f35ca2419dd42167e1f1d1f5b34e651095f0eb Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Love=20H=C3=B6rnquist=20=C3=85strand?= Date: Fri, 7 Apr 2006 14:00:57 +0000 Subject: [PATCH] (main): remove dead code. Coverity NetBSD CID#633 git-svn-id: svn://svn.h5l.se/heimdal/trunk/heimdal@17008 ec53bebd-3082-4978-b11e-865c3cabbd6b --- kdc/hprop.c | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/kdc/hprop.c b/kdc/hprop.c index 5077acc13..5347b6177 100644 --- a/kdc/hprop.c +++ b/kdc/hprop.c @@ -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);