From d8f982149d5071de23c049ba32e1966d01108836 Mon Sep 17 00:00:00 2001 From: Ken Raeburn Date: Wed, 10 Oct 2001 03:27:00 +0000 Subject: [PATCH] logger.c (krb5_klog_init): Initialize savec to keep compiler happy git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@13793 dc483132-0cff-0310-8789-dd5450dbe970 --- src/lib/kadm5/ChangeLog | 5 +++++ src/lib/kadm5/logger.c | 2 +- 2 files changed, 6 insertions(+), 1 deletion(-) diff --git a/src/lib/kadm5/ChangeLog b/src/lib/kadm5/ChangeLog index fe1d91d0f..a4b03a706 100644 --- a/src/lib/kadm5/ChangeLog +++ b/src/lib/kadm5/ChangeLog @@ -1,3 +1,8 @@ +2001-10-09 Ken Raeburn + + * logger.c (krb5_klog_init): Initialize savec to keep compiler + happy. + 2001-10-05 Ken Raeburn * logger.c: Drop _MSDOS support. diff --git a/src/lib/kadm5/logger.c b/src/lib/kadm5/logger.c index 065e8b243..f2c0563b2 100644 --- a/src/lib/kadm5/logger.c +++ b/src/lib/kadm5/logger.c @@ -359,7 +359,7 @@ krb5_klog_init(kcontext, ename, whoami, do_com_err) char **logging_specs; int i, ngood; char *cp, *cp2; - char savec; + char savec = '\0'; int error; int do_openlog, log_facility; FILE *f; -- 2.26.2