summaryrefslogtreecommitdiff
path: root/Build/source/texk/dvipdfmx/src/tt_glyf.c
diff options
context:
space:
mode:
authorPeter Breitenlohner <peb@mppmu.mpg.de>2013-01-09 13:58:46 +0000
committerPeter Breitenlohner <peb@mppmu.mpg.de>2013-01-09 13:58:46 +0000
commita7ee03f4f16e3dcc75957f11ac8cd4a29b034bef (patch)
treeebcb39b2baff42ba78ec5ad9a97a542f721f6932 /Build/source/texk/dvipdfmx/src/tt_glyf.c
parentd751bb640e6ea7b340c2c4c79eea858a93862b9d (diff)
dvipdfmx: Avoid various gcc-4.6 warnings
git-svn-id: svn://tug.org/texlive/trunk@28775 c570f23f-e606-0410-a88d-b1316a301751
Diffstat (limited to 'Build/source/texk/dvipdfmx/src/tt_glyf.c')
-rw-r--r--Build/source/texk/dvipdfmx/src/tt_glyf.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/Build/source/texk/dvipdfmx/src/tt_glyf.c b/Build/source/texk/dvipdfmx/src/tt_glyf.c
index c34f95a69bd..c258a784f65 100644
--- a/Build/source/texk/dvipdfmx/src/tt_glyf.c
+++ b/Build/source/texk/dvipdfmx/src/tt_glyf.c
@@ -583,7 +583,6 @@ tt_get_metrics (sfnt *sfont, struct tt_glyphs *g)
for (i = 0; i < g->num_glyphs; i++) {
USHORT gid; /* old gid */
ULONG loc, len;
- SHORT number_of_contours;
gid = g->gd[i].ogid;
if (gid >= maxp->numGlyphs)
@@ -616,7 +615,7 @@ tt_get_metrics (sfnt *sfont, struct tt_glyphs *g)
}
sfnt_seek_set(sfont, offset+loc);
- number_of_contours = sfnt_get_short(sfont);
+ (void) sfnt_get_short(sfont);
/* BoundingBox: FWord x 4 */
g->gd[i].llx = sfnt_get_short(sfont);