From: Ken Raeburn Date: Mon, 5 Sep 2011 09:45:49 +0000 (+0000) Subject: Initialize some more variables X-Git-Tag: krb5-1.10-alpha1~224 X-Git-Url: http://git.tremily.us/?a=commitdiff_plain;h=d2471ab777ad8346f8e1549f36e93ceae8fa25ae;p=krb5.git Initialize some more variables git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@25151 dc483132-0cff-0310-8789-dd5450dbe970 --- diff --git a/src/lib/krb5/os/t_an_to_ln.c b/src/lib/krb5/os/t_an_to_ln.c index 99ec590cd..b9c63acc1 100644 --- a/src/lib/krb5/os/t_an_to_ln.c +++ b/src/lib/krb5/os/t_an_to_ln.c @@ -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; diff --git a/src/plugins/kdb/db2/libdb2/test/dbtest.c b/src/plugins/kdb/db2/libdb2/test/dbtest.c index df92cd79e..210be87e2 100644 --- a/src/plugins/kdb/db2/libdb2/test/dbtest.c +++ b/src/plugins/kdb/db2/libdb2/test/dbtest.c @@ -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;