diff options
author | Peter Breitenlohner <peb@mppmu.mpg.de> | 2010-05-10 09:43:11 +0000 |
---|---|---|
committer | Peter Breitenlohner <peb@mppmu.mpg.de> | 2010-05-10 09:43:11 +0000 |
commit | a8c440bb418af0a8cd6a8e012a6f2cc3cafcee29 (patch) | |
tree | 78924fd08e2312c5aac2094632d3d7179b4d37d0 /Build/source/texk/dvipsk/output.c | |
parent | c1662ec68d00b00641d12f2bf30658916311f6e1 (diff) |
remove more useless casts to void
reintroduce a few such cast to avoid complier warnings
git-svn-id: svn://tug.org/texlive/trunk@18185 c570f23f-e606-0410-a88d-b1316a301751
Diffstat (limited to 'Build/source/texk/dvipsk/output.c')
-rw-r--r-- | Build/source/texk/dvipsk/output.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/Build/source/texk/dvipsk/output.c b/Build/source/texk/dvipsk/output.c index c3aa22a435f..467066c62d3 100644 --- a/Build/source/texk/dvipsk/output.c +++ b/Build/source/texk/dvipsk/output.c @@ -152,7 +152,7 @@ copyfile_general(const char *s, struct header_list *cur_header) sprintf(errbuf, "Execution of <%s> failed ", s); f = popen(s, "r"); if (f != 0) - SET_BINARY(fileno(f)); + (void)SET_BINARY(fileno(f)); } else { sprintf(errbuf,"Secure mode is %d so execute <%s> will not run", secure,s); @@ -1310,7 +1310,7 @@ open_output(void) { #endif if (pf == NULL && (pf = popen(oname+1, "w")) != NULL) { popened = 1; - SET_BINARY(fileno(pf)); + (void)SET_BINARY(fileno(pf)); } if (pf == NULL) error("! couldn't open output pipe"); @@ -1322,7 +1322,7 @@ open_output(void) { } else { if ((bitfile=fopen(oname,"w"))==NULL) error("! couldn't open PostScript file"); - SET_BINARY(fileno(bitfile)); + (void)SET_BINARY(fileno(bitfile)); } } else { bitfile = stdout; |