diff options
author | Karl Berry <karl@freefriends.org> | 2010-05-10 00:58:37 +0000 |
---|---|---|
committer | Karl Berry <karl@freefriends.org> | 2010-05-10 00:58:37 +0000 |
commit | 59bb55528c277eecb879be61afc11eec0e65dd08 (patch) | |
tree | 6773d939ddd4a3290376ae2c1e945f0d73204eee /Build/source/texk/dvipsk/tfmload.c | |
parent | e3216395f89dca4ac988ded326a8d1d6a05a6cdb (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/tfmload.c')
-rw-r--r-- | Build/source/texk/dvipsk/tfmload.c | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/Build/source/texk/dvipsk/tfmload.c b/Build/source/texk/dvipsk/tfmload.c index f9a4601a5ab..80024a47312 100644 --- a/Build/source/texk/dvipsk/tfmload.c +++ b/Build/source/texk/dvipsk/tfmload.c @@ -48,9 +48,9 @@ tfmopen(register fontdesctype *fd) d = ofmpath; #endif #ifdef MVSXA /* IBM: MVS/XA */ - (void)sprintf(name, "ofm(%s)", n); + sprintf(name, "ofm(%s)", n); #else - (void)sprintf(name, "%s.ofm", n); + sprintf(name, "%s.ofm", n); #endif if ((tfmfile=search(d, name, READBIN))!=NULL) return; @@ -63,13 +63,13 @@ tfmopen(register fontdesctype *fd) d = tfmpath; #endif #ifdef MVSXA /* IBM: MVS/XA */ - (void)sprintf(name, "tfm(%s)", n); + sprintf(name, "tfm(%s)", n); #else - (void)sprintf(name, "%s.tfm", n); + sprintf(name, "%s.tfm", n); #endif if ((tfmfile=search(d, name, READBIN))!=NULL) return; - (void)sprintf(errbuf, "Can't open font metric file %s%s", + sprintf(errbuf, "Can't open font metric file %s%s", fd->area, name); error(errbuf); error("I will use cmr10.tfm instead, so expect bad output."); @@ -247,7 +247,7 @@ tfmload(register fontdesctype *curfnt) scaled = (integer *) xmalloc(nw*sizeof(integer)); for (i=0; i<nw; i++) scaled[i] = scalewidth(tfm32(), scaledsize); - (void)fclose(tfmfile); + fclose(tfmfile); if (id == 9 || id == 11) { for (i=0; i<MAX_CODE; i++) { |