summaryrefslogtreecommitdiff
path: root/Build/source/texk/ptexenc
diff options
context:
space:
mode:
Diffstat (limited to 'Build/source/texk/ptexenc')
-rw-r--r--Build/source/texk/ptexenc/ChangeLog4
-rw-r--r--Build/source/texk/ptexenc/ptexenc.c2
2 files changed, 5 insertions, 1 deletions
diff --git a/Build/source/texk/ptexenc/ChangeLog b/Build/source/texk/ptexenc/ChangeLog
index 769ff7a9ec3..e40c29fe0e6 100644
--- a/Build/source/texk/ptexenc/ChangeLog
+++ b/Build/source/texk/ptexenc/ChangeLog
@@ -1,3 +1,7 @@
+2019-02-15 Akira Kakuto <kakuto@w32tex.org>
+
+ * ptexenc.c: Initialize a local variable.
+
2019-02-11 Karl Berry <karl@tug.org>
* version.ac: no /dev for TL'19.
diff --git a/Build/source/texk/ptexenc/ptexenc.c b/Build/source/texk/ptexenc/ptexenc.c
index 6c8238c4a2c..b38bc189074 100644
--- a/Build/source/texk/ptexenc/ptexenc.c
+++ b/Build/source/texk/ptexenc/ptexenc.c
@@ -748,7 +748,7 @@ static int infile_enc[NOFILE]; /* ENC_UNKNOWN (=0): not determined
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);