From: John Kohl Date: Wed, 1 May 1991 13:03:14 +0000 (+0000) Subject: fix some compiler warnings X-Git-Tag: krb5-1.0-alpha5~18 X-Git-Url: http://git.tremily.us/?a=commitdiff_plain;h=7dd8b46a205a6b2b6a8d9b3f56ee4a5b10401a4d;p=krb5.git fix some compiler warnings git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@2085 dc483132-0cff-0310-8789-dd5450dbe970 --- diff --git a/src/tests/create/kdb5_mkdums.c b/src/tests/create/kdb5_mkdums.c index deeb4f429..9ea384d3f 100644 --- a/src/tests/create/kdb5_mkdums.c +++ b/src/tests/create/kdb5_mkdums.c @@ -100,14 +100,13 @@ char *argv[]; krb5_error_code retval; char *dbname = 0; - char defrealm[BUFSIZ]; int keytypedone = 0; krb5_enctype etype = 0xffff; register krb5_cryptosystem_entry *csentry; extern krb5_kt_ops krb5_ktf_writable_ops; int num_to_create; char principal_string[BUFSIZ]; - char *suffix; + char *suffix = 0; int depth; krb5_init_ets(); @@ -159,7 +158,7 @@ char *argv[]; } } - if (!(num_to_create && principal_string[0])) usage(progname, 1); + if (!(num_to_create && suffix)) usage(progname, 1); if (retval = krb5_kt_register(&krb5_ktf_writable_ops)) {