logger.c (krb5_klog_init): Initialize savec to keep compiler happy
authorKen Raeburn <raeburn@mit.edu>
Wed, 10 Oct 2001 03:27:00 +0000 (03:27 +0000)
committerKen Raeburn <raeburn@mit.edu>
Wed, 10 Oct 2001 03:27:00 +0000 (03:27 +0000)
git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@13793 dc483132-0cff-0310-8789-dd5450dbe970

src/lib/kadm5/ChangeLog
src/lib/kadm5/logger.c

index fe1d91d0fff88c345d844cc17b2c2701d35cd285..a4b03a706d23ba2b51a298b170dbc81457e55674 100644 (file)
@@ -1,3 +1,8 @@
+2001-10-09  Ken Raeburn  <raeburn@mit.edu>
+
+       * logger.c (krb5_klog_init): Initialize savec to keep compiler
+       happy.
+
 2001-10-05  Ken Raeburn  <raeburn@mit.edu>
 
        * logger.c: Drop _MSDOS support.
index 065e8b24343017b4e6ef089135bafd4c9cb20fc2..f2c0563b25bd7745cc660a065fc1d6300c94ebad 100644 (file)
@@ -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;