summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPeter Breitenlohner <peb@mppmu.mpg.de>2013-03-15 12:36:58 +0000
committerPeter Breitenlohner <peb@mppmu.mpg.de>2013-03-15 12:36:58 +0000
commit675a4f704d457552f13ae48a61e181b518ef8673 (patch)
treeed071e76747d7f21d2810e0f775e7f3ffa8e3a9c
parentb6fd900504f74c68cb88469886ef1429d6b5bbe2 (diff)
dviljk: Avoid compiler warning
git-svn-id: svn://tug.org/texlive/trunk@29399 c570f23f-e606-0410-a88d-b1316a301751
-rw-r--r--Build/source/texk/dviljk/ChangeLog4
-rw-r--r--Build/source/texk/dviljk/dvi2xx.c2
2 files changed, 5 insertions, 1 deletions
diff --git a/Build/source/texk/dviljk/ChangeLog b/Build/source/texk/dviljk/ChangeLog
index da893590516..beee994cbb6 100644
--- a/Build/source/texk/dviljk/ChangeLog
+++ b/Build/source/texk/dviljk/ChangeLog
@@ -1,3 +1,7 @@
+2013-03-15 Peter Breitenlohner <peb@mppmu.mpg.de>
+
+ * dvi2xx.c: use '(void)AssureBinary' to avoid compiler warning.
+
2013-01-30 Peter Breitenlohner <peb@mppmu.mpg.de>
* Makefile.am, configure.ac: Allow subdir-objects.
diff --git a/Build/source/texk/dviljk/dvi2xx.c b/Build/source/texk/dviljk/dvi2xx.c
index c59c8d2408c..c8ce1be36df 100644
--- a/Build/source/texk/dviljk/dvi2xx.c
+++ b/Build/source/texk/dviljk/dvi2xx.c
@@ -3161,7 +3161,7 @@ Primary author of Dvi2xx: Gustaf Neumann; -k maintainer: K. Berry.");
#else
dvifp = stdin;
if (O_BINARY && !isatty(fileno(dvifp)))
- AssureBinary(fileno(dvifp));
+ (void)AssureBinary(fileno(dvifp));
#endif
} else {
/* Since this code is used only once during startup, we don't care