diff options
author | Peter Breitenlohner <peb@mppmu.mpg.de> | 2011-03-09 12:50:35 +0000 |
---|---|---|
committer | Peter Breitenlohner <peb@mppmu.mpg.de> | 2011-03-09 12:50:35 +0000 |
commit | 3ec3922e3555479434cfbd66e77697cd6c36d02b (patch) | |
tree | 184ffae810ba8e8ebeedcec0b1642898ef8fd23f /Build/source/texk/lcdf-typetools/otfinfo | |
parent | f97c17bf8bf8b0998c128160616349d7cfcdec4b (diff) |
lcdf-typetools: compiler warning
git-svn-id: svn://tug.org/texlive/trunk@21662 c570f23f-e606-0410-a88d-b1316a301751
Diffstat (limited to 'Build/source/texk/lcdf-typetools/otfinfo')
-rw-r--r-- | Build/source/texk/lcdf-typetools/otfinfo/otfinfo.cc | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/Build/source/texk/lcdf-typetools/otfinfo/otfinfo.cc b/Build/source/texk/lcdf-typetools/otfinfo/otfinfo.cc index db638fa1389..24bd5dd5a4f 100644 --- a/Build/source/texk/lcdf-typetools/otfinfo/otfinfo.cc +++ b/Build/source/texk/lcdf-typetools/otfinfo/otfinfo.cc @@ -140,6 +140,7 @@ read_file(String filename, ErrorHandler *errh, bool warning = false) if (!filename || filename == "-") { filename = "<stdin>"; f = stdin; + f_errno = 0; #if defined(_MSDOS) || defined(_WIN32) // Set the file mode to binary _setmode(_fileno(f), _O_BINARY); |