summaryrefslogtreecommitdiff
path: root/Build
diff options
context:
space:
mode:
authorKarl Berry <karl@freefriends.org>2008-03-09 22:01:52 +0000
committerKarl Berry <karl@freefriends.org>2008-03-09 22:01:52 +0000
commit6a09c84d7783d99272893705a29c20b2185460ff (patch)
treebfb8b17c5db0a4071c2f25cdcecebbcb46d17926 /Build
parentd607d7735573bde22c1718e7d4bcc17cbba5f538 (diff)
avoid a -Wuninitialized warning, from taco
git-svn-id: svn://tug.org/texlive/trunk@6917 c570f23f-e606-0410-a88d-b1316a301751
Diffstat (limited to 'Build')
-rw-r--r--Build/source/texk/web2c/lib/ChangeLog1
-rw-r--r--Build/source/texk/web2c/lib/texmfmp.c2
2 files changed, 2 insertions, 1 deletions
diff --git a/Build/source/texk/web2c/lib/ChangeLog b/Build/source/texk/web2c/lib/ChangeLog
index bb0e3b96a6d..a6e44c1548f 100644
--- a/Build/source/texk/web2c/lib/ChangeLog
+++ b/Build/source/texk/web2c/lib/ChangeLog
@@ -2,6 +2,7 @@
* texmfmp.c (maketexstring) [!MP]: only define this fn if !MP,
since MetaPost has its own in mpdir/utils.c.
+ (input_line): initialize i = EOF. From Taco.
2008-01-29 Peter Breitenlohner <peb@mppmu.mpg.de>
diff --git a/Build/source/texk/web2c/lib/texmfmp.c b/Build/source/texk/web2c/lib/texmfmp.c
index cefab57cbd3..2fdec76a9d0 100644
--- a/Build/source/texk/web2c/lib/texmfmp.c
+++ b/Build/source/texk/web2c/lib/texmfmp.c
@@ -1589,7 +1589,7 @@ getrandomseed()
boolean
input_line P1C(FILE *, f)
{
- int i;
+ int i = EOF;
/* Recognize either LF or CR as a line terminator. */
last = first;