1
Fork 0
mirror of git://git.sv.gnu.org/emacs.git synced 2026-04-27 16:51:06 -07:00

* ftfont.c (ftfont_get_metrics, ftfont_drive_otf): Remove unused locals.

This commit is contained in:
Paul Eggert 2011-06-10 12:31:15 -07:00
parent 529a133c39
commit 3f754b86f8
2 changed files with 4 additions and 2 deletions

View file

@ -1,3 +1,7 @@
2011-06-10 Paul Eggert <eggert@cs.ucla.edu>
* ftfont.c (ftfont_get_metrics, ftfont_drive_otf): Remove unused locals.
2011-06-10 Chong Yidong <cyd@stupidchicken.com>
* image.c (gif_load): Fix omitted cast error introduced by

View file

@ -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;