fix some compiler warnings
authorJohn Kohl <jtkohl@mit.edu>
Wed, 1 May 1991 13:03:14 +0000 (13:03 +0000)
committerJohn Kohl <jtkohl@mit.edu>
Wed, 1 May 1991 13:03:14 +0000 (13:03 +0000)
git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@2085 dc483132-0cff-0310-8789-dd5450dbe970

src/tests/create/kdb5_mkdums.c

index deeb4f4299624b0444b9db8a72ff4b3d6ff57857..9ea384d3f5d35805f2920e340478b4ab2ec7d174 100644 (file)
@@ -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)) {