summaryrefslogtreecommitdiff
path: root/src/ftfont.c
diff options
context:
space:
mode:
authorPaul Eggert <eggert@cs.ucla.edu>2011-06-10 12:31:15 -0700
committerPaul Eggert <eggert@cs.ucla.edu>2011-06-10 12:31:15 -0700
commit3f754b86f836bf4cae6d746debfe0954441050a6 (patch)
tree63f0c4d9c4ed953540ca191f13554c9dbfd0750e /src/ftfont.c
parent529a133c390049085db38e7c8f745d650a2626ee (diff)
downloademacs-3f754b86f836bf4cae6d746debfe0954441050a6.tar.gz
* ftfont.c (ftfont_get_metrics, ftfont_drive_otf): Remove unused locals.
Diffstat (limited to 'src/ftfont.c')
-rw-r--r--src/ftfont.c2
1 files changed, 0 insertions, 2 deletions
diff --git a/src/ftfont.c b/src/ftfont.c
index cd8829a3e51..5037d54bc2f 100644
--- a/src/ftfont.c
+++ b/src/ftfont.c
@@ -1612,7 +1612,6 @@ ftfont_get_metrics (MFLTFont *font, MFLTGlyphString *gstring,
if (g->code != FONT_INVALID_CODE)
{
FT_Glyph_Metrics *m;
- int lbearing, rbearing, ascent, descent, xadv;
if (FT_Load_Glyph (ft_face, g->code, FT_LOAD_DEFAULT) != 0)
abort ();
@@ -1867,7 +1866,6 @@ ftfont_drive_otf (MFLTFont *font,
{
MFLTGlyph *g;
int min_from, max_to;
- int j;
int feature_idx = otfg->positioning_type >> 4;
g = out->glyphs + out->used;