diff options
author | Akira Kakuto <kakuto@fuk.kindai.ac.jp> | 2019-02-15 03:56:53 +0000 |
---|---|---|
committer | Akira Kakuto <kakuto@fuk.kindai.ac.jp> | 2019-02-15 03:56:53 +0000 |
commit | 6ec4f2024cacd839370876dca215c9681734b1da (patch) | |
tree | 2ac50c7dc7f009cc385df273d15b38f21db6142b /Build | |
parent | adc80906f57e69b52acb70bdba9f9c1954927a69 (diff) |
initialize a local variable
git-svn-id: svn://tug.org/texlive/trunk@50028 c570f23f-e606-0410-a88d-b1316a301751
Diffstat (limited to 'Build')
-rw-r--r-- | Build/source/texk/ptexenc/ChangeLog | 4 | ||||
-rw-r--r-- | Build/source/texk/ptexenc/ptexenc.c | 2 |
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); |