Initialize some more variables
authorKen Raeburn <raeburn@mit.edu>
Mon, 5 Sep 2011 09:45:49 +0000 (09:45 +0000)
committerKen Raeburn <raeburn@mit.edu>
Mon, 5 Sep 2011 09:45:49 +0000 (09:45 +0000)
git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@25151 dc483132-0cff-0310-8789-dd5450dbe970

src/lib/krb5/os/t_an_to_ln.c
src/plugins/kdb/db2/libdb2/test/dbtest.c

index 99ec590cd5fd9e6f7bbc88409adf9e5689a7b319..b9c63acc1d56415cbc999862a91143b452b87e76 100644 (file)
@@ -6,7 +6,7 @@
 int
 main(int argc, char **argv)
 {
-    krb5_error_code     kret;
+    krb5_error_code     kret = 0;
     krb5_context        kcontext;
     krb5_principal      principal;
     char                *programname;
index df92cd79e88f71699f6a3c13069ca23fda9c8712..210be87e23da92fdd444e79c89b321aecf096cbc 100644 (file)
@@ -99,7 +99,7 @@ main(argc, argv)
 {
        extern int optind;
        extern char *optarg;
-       enum S command, state;
+       enum S command = COMMAND, state;
        DB *dbp;
        DBT data, key, keydata;
        size_t len;