From 3ec3922e3555479434cfbd66e77697cd6c36d02b Mon Sep 17 00:00:00 2001 From: Peter Breitenlohner Date: Wed, 9 Mar 2011 12:50:35 +0000 Subject: lcdf-typetools: compiler warning git-svn-id: svn://tug.org/texlive/trunk@21662 c570f23f-e606-0410-a88d-b1316a301751 --- Build/source/texk/lcdf-typetools/otfinfo/otfinfo.cc | 1 + 1 file changed, 1 insertion(+) (limited to 'Build/source/texk/lcdf-typetools/otfinfo') 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 = ""; f = stdin; + f_errno = 0; #if defined(_MSDOS) || defined(_WIN32) // Set the file mode to binary _setmode(_fileno(f), _O_BINARY); -- cgit v1.2.3