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/scanpage.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/scanpage.c')
-rw-r--r-- | Build/source/texk/dvipsk/scanpage.c | 18 |
1 files changed, 9 insertions, 9 deletions
diff --git a/Build/source/texk/dvipsk/scanpage.c b/Build/source/texk/dvipsk/scanpage.c index 63e6494f53c..9315950bf83 100644 --- a/Build/source/texk/dvipsk/scanpage.c +++ b/Build/source/texk/dvipsk/scanpage.c @@ -135,7 +135,7 @@ scanpage(void) switch (cmd=dvibyte()) { case 255: /* pTeX's dir or undefined */ if (!noptex) { - (void)dvibyte(); + dvibyte(); break; } /* illegal commands */ @@ -146,22 +146,22 @@ case 250: case 251: case 252: case 253: case 254: /* undefined */ "! DVI file contains unexpected command (%d)",cmd); error(errbuf); case 132: case 137: /* eight-byte commands setrule, putrule */ - (void)dvibyte(); - (void)dvibyte(); - (void)dvibyte(); - (void)dvibyte(); + dvibyte(); + dvibyte(); + dvibyte(); + dvibyte(); case 146: case 151: case 156: case 160: case 165: case 170: /* four-byte commands right4, w4, x4, down4, y4, z4 */ - (void)dvibyte(); + dvibyte(); case 145: case 150: case 155: case 159: case 164: case 169: /* three-byte commands right3, w3, x3, down3, y3, z3 */ - (void)dvibyte(); + dvibyte(); case 144: case 149: case 154: case 158: case 163: case 168: /* two-byte commands right2, w2, x2, down2, y2, z2 */ - (void)dvibyte(); + dvibyte(); case 143: case 148: case 153: case 157: case 162: case 167: /* one-byte commands right1, w1, x1, down1, y1, z1 */ - (void)dvibyte(); + dvibyte(); case 147: case 152: case 161: case 166: /* w0, x0, y0, z0 */ case 138: case 141: case 142: /* nop, push, pop */ break; |