summaryrefslogtreecommitdiff
path: root/Build/source/texk/dvipsk/pprescan.c
diff options
context:
space:
mode:
authorKarl Berry <karl@freefriends.org>2010-05-10 00:58:37 +0000
committerKarl Berry <karl@freefriends.org>2010-05-10 00:58:37 +0000
commit59bb55528c277eecb879be61afc11eec0e65dd08 (patch)
tree6773d939ddd4a3290376ae2c1e945f0d73204eee /Build/source/texk/dvipsk/pprescan.c
parente3216395f89dca4ac988ded326a8d1d6a05a6cdb (diff)
remove useless casts to void
git-svn-id: svn://tug.org/texlive/trunk@18177 c570f23f-e606-0410-a88d-b1316a301751
Diffstat (limited to 'Build/source/texk/dvipsk/pprescan.c')
-rw-r--r--Build/source/texk/dvipsk/pprescan.c12
1 files changed, 6 insertions, 6 deletions
diff --git a/Build/source/texk/dvipsk/pprescan.c b/Build/source/texk/dvipsk/pprescan.c
index f42af47abe5..1413f627fde 100644
--- a/Build/source/texk/dvipsk/pprescan.c
+++ b/Build/source/texk/dvipsk/pprescan.c
@@ -47,9 +47,9 @@ pscanpage(void)
#ifdef DEBUG
if (dd(D_PAGE))
#ifdef SHORTINT
- (void)fprintf(stderr,"PPrescanning page %ld\n", pagenum);
+ fprintf(stderr,"PPrescanning page %ld\n", pagenum);
#else /* ~SHORTINT */
- (void)fprintf(stderr,"PPrescanning page %d\n", pagenum);
+ fprintf(stderr,"PPrescanning page %d\n", pagenum);
#endif /* ~SHORTINT */
#endif /* DEBUG */
curfnt = NULL;
@@ -66,7 +66,7 @@ case 255: /* pTeX's dir or undefined */
case 131: case 136: case 139: /* set4, put4, bop */
case 247: case 248: case 249: /* pre, post, post_post */
case 250: case 251: case 252: case 253: case 254: /* undefined */
- (void)sprintf(errbuf,
+ sprintf(errbuf,
"! DVI file contains unexpected command (%d)",cmd);
error(errbuf);
case 132: case 137: /* eight-byte commands setrule, putrule */
@@ -91,7 +91,7 @@ case 138: case 141: case 142: /* nop, push, pop */
break;
case 130: case 135: /* set3, put3 */
if (noptex) {
- (void)sprintf(errbuf,
+ sprintf(errbuf,
"! DVI file contains unexpected pTeX command (%d)",cmd);
error(errbuf);
}
@@ -100,7 +100,7 @@ case 130: case 135: /* set3, put3 */
goto dochar;
case 129: case 134: /* set2, put2 */
if (noomega) {
- (void)sprintf(errbuf,
+ sprintf(errbuf,
"! DVI file contains unexpected Omega command (%d)",cmd);
error(errbuf);
}
@@ -113,7 +113,7 @@ dochar:
if (curfnt==NULL)
error("! Bad DVI file: no font selected");
if (mychar>=curfnt->maxchars) {
- (void)sprintf(errbuf,"! invalid char %d from font %s", mychar, curfnt->name);
+ sprintf(errbuf,"! invalid char %d from font %s", mychar, curfnt->name);
error(errbuf);
}
if (curfnt->loaded == 2) { /* scanning a virtual font character */