From 059ca3667a354bdf6a7de19faecec44e4018e004 Mon Sep 17 00:00:00 2001 From: Ezra Peisach Date: Tue, 12 Aug 1997 13:14:55 +0000 Subject: [PATCH] * init_ctx.c (krb5_init_context): Initialize local variable ctx before calling krb5_init_ets. This keeps purify happy as we are not using a variable before setting it. git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@10172 dc483132-0cff-0310-8789-dd5450dbe970 --- src/lib/krb5/krb/ChangeLog | 5 +++++ src/lib/krb5/krb/init_ctx.c | 2 +- 2 files changed, 6 insertions(+), 1 deletion(-) diff --git a/src/lib/krb5/krb/ChangeLog b/src/lib/krb5/krb/ChangeLog index e0ca78a2e..1ed4b4bcf 100644 --- a/src/lib/krb5/krb/ChangeLog +++ b/src/lib/krb5/krb/ChangeLog @@ -1,3 +1,8 @@ +Tue Aug 12 09:13:22 1997 Ezra Peisach + + * init_ctx.c (krb5_init_context): Initialize local variable ctx + before calling krb5_init_ets. + Fri Aug 8 17:04:54 1997 Tom Yu * rd_cred.c (krb5_rd_cred_basic): Check remote_addr and diff --git a/src/lib/krb5/krb/init_ctx.c b/src/lib/krb5/krb/init_ctx.c index d43a65dfe..ed5d2fb3d 100644 --- a/src/lib/krb5/krb/init_ctx.c +++ b/src/lib/krb5/krb/init_ctx.c @@ -35,7 +35,7 @@ KRB5_DLLIMP krb5_error_code KRB5_CALLCONV krb5_init_context(context) krb5_context *context; { - krb5_context ctx; + krb5_context ctx = 0; krb5_error_code retval; int tmp; -- 2.26.2