summaryrefslogtreecommitdiff
path: root/Build/source/texk/xdvik/tfmload.c
diff options
context:
space:
mode:
authorPeter Breitenlohner <peb@mppmu.mpg.de>2008-07-01 15:42:36 +0000
committerPeter Breitenlohner <peb@mppmu.mpg.de>2008-07-01 15:42:36 +0000
commit6552be7f745c5a8d506148c8af9d367c9d996d24 (patch)
treeb9d673871a1490b64273a265d4d961316a2174db /Build/source/texk/xdvik/tfmload.c
parent48e2b240973977c208bc840b589b75b91a6f4c30 (diff)
xdvik 22.84.14
git-svn-id: svn://tug.org/texlive/trunk@9142 c570f23f-e606-0410-a88d-b1316a301751
Diffstat (limited to 'Build/source/texk/xdvik/tfmload.c')
-rw-r--r--Build/source/texk/xdvik/tfmload.c14
1 files changed, 7 insertions, 7 deletions
diff --git a/Build/source/texk/xdvik/tfmload.c b/Build/source/texk/xdvik/tfmload.c
index 4b904b2576e..6d2ceb1c9b6 100644
--- a/Build/source/texk/xdvik/tfmload.c
+++ b/Build/source/texk/xdvik/tfmload.c
@@ -37,9 +37,9 @@ tfmload(const char *name, long *design, long *widths, long *fontdimen2)
filename = kpse_find_tfm(name);
if (filename == NULL) {
- filename = kpse_find_tfm("cmr10.tfm");
- if (fallbacktfm == 0)
- fallbacktfm = 1;
+ filename = kpse_find_tfm("cmr10.tfm");
+ if (fallbacktfm == 0)
+ fallbacktfm = 1;
}
if (filename == NULL)
@@ -68,7 +68,7 @@ tfmload(const char *name, long *design, long *widths, long *fontdimen2)
f_param_num = get_bytes(curfnt, 2); /* np = number of font parameter words */
/* Header, 32 bit signed quantities */
- get_bytes(curfnt, 4); /* header[0]: checksum */
+ (void)get_bytes(curfnt, 4); /* header[0]: checksum */
*design = get_bytes(curfnt, 4); /* header[1]: design size */
/* Skip the rest: header[2..(hd-1)] */
@@ -84,8 +84,8 @@ tfmload(const char *name, long *design, long *widths, long *fontdimen2)
/* The charinfo array: */
for (i = bc; i <= ec; i++) {
chardat[i] = get_byte(curfnt); /* 8 bits of width index */
- get_byte(curfnt); /* skip */
- get_bytes(curfnt, 2); /* skip, jump */
+ (void)get_byte(curfnt); /* skip */
+ (void)get_bytes(curfnt, 2); /* skip, jump */
}
/* The (compressed!) width table */
@@ -94,7 +94,7 @@ tfmload(const char *name, long *design, long *widths, long *fontdimen2)
/* skip to font parameter words */
for (i = 0; i < f_param_off; i++)
- get_bytes(curfnt, 4);
+ (void)get_bytes(curfnt, 4);
/* read fontdimen2 (width of space) */
for (i = 0; i < f_param_num; i++) {