texlive[50028] Build/source/texk/ptexenc: initialize a local variable

commits+kakuto at tug.org commits+kakuto at tug.org
Fri Feb 15 04:56:54 CET 2019


Revision: 50028
          http://tug.org/svn/texlive?view=revision&revision=50028
Author:   kakuto
Date:     2019-02-15 04:56:53 +0100 (Fri, 15 Feb 2019)
Log Message:
-----------
initialize a local variable

Modified Paths:
--------------
    trunk/Build/source/texk/ptexenc/ChangeLog
    trunk/Build/source/texk/ptexenc/ptexenc.c

Modified: trunk/Build/source/texk/ptexenc/ChangeLog
===================================================================
--- trunk/Build/source/texk/ptexenc/ChangeLog	2019-02-15 01:23:38 UTC (rev 50027)
+++ trunk/Build/source/texk/ptexenc/ChangeLog	2019-02-15 03:56:53 UTC (rev 50028)
@@ -1,3 +1,7 @@
+2019-02-15  Akira Kakuto  <kakuto at w32tex.org>
+
+	* ptexenc.c: Initialize a local variable.
+
 2019-02-11  Karl Berry  <karl at tug.org>
 
 	* version.ac: no /dev for TL'19.

Modified: trunk/Build/source/texk/ptexenc/ptexenc.c
===================================================================
--- trunk/Build/source/texk/ptexenc/ptexenc.c	2019-02-15 01:23:38 UTC (rev 50027)
+++ trunk/Build/source/texk/ptexenc/ptexenc.c	2019-02-15 03:56:53 UTC (rev 50028)
@@ -748,7 +748,7 @@
 long input_line2(FILE *fp, unsigned char *buff, long pos,
                  const long buffsize, int *lastchar)
 {
-    long i;
+    long i = 0;
     static boolean injis = false;
     const int fd = fileno(fp);
 



More information about the tex-live-commits mailing list