projects
/
krb5.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
c978ebd
)
Initialize values to avoid 'possibly uninitialized' compiler warnings
author
Ken Raeburn
<raeburn@mit.edu>
Sun, 25 Mar 2007 23:09:56 +0000
(23:09 +0000)
committer
Ken Raeburn
<raeburn@mit.edu>
Sun, 25 Mar 2007 23:09:56 +0000
(23:09 +0000)
git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@19281
dc483132
-0cff-0310-8789-
dd5450dbe970
src/lib/krb5/krb/preauth2.c
patch
|
blob
|
history
diff --git
a/src/lib/krb5/krb/preauth2.c
b/src/lib/krb5/krb/preauth2.c
index 18d737c34076f3a9f3d14cb3db188de1da8c1ccd..f59b899c602cedc17cec260f9b7bb8589f9c045d 100644
(file)
--- 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]);