From 823b40bf4cdffef31583aad3c2c15a1ad23b62a5 Mon Sep 17 00:00:00 2001 From: Ken Raeburn Date: Sun, 25 Mar 2007 23:09:56 +0000 Subject: [PATCH] Initialize values to avoid 'possibly uninitialized' compiler warnings git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@19281 dc483132-0cff-0310-8789-dd5450dbe970 --- src/lib/krb5/krb/preauth2.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/lib/krb5/krb/preauth2.c b/src/lib/krb5/krb/preauth2.c index 18d737c34..f59b899c6 100644 --- a/src/lib/krb5/krb/preauth2.c +++ b/src/lib/krb5/krb/preauth2.c @@ -225,7 +225,7 @@ krb5_preauth_supply_preauth_data(krb5_context context, const char *attr, const char *value) { - krb5_error_code retval; + krb5_error_code retval = 0; int i; void *pctx; const char *emsg = NULL; @@ -1597,7 +1597,7 @@ krb5_do_preauth(krb5_context context, if (!realdone) { krb5_init_preauth_context(context); if (context->preauth_context != NULL) { - int module_ret, module_flags; + int module_ret = 0, module_flags; #ifdef DEBUG fprintf (stderr, "trying modules for pa_type %d, flag %d\n", in_padata[i]->pa_type, paorder[h]); -- 2.26.2