Remove unused variable

This commit is contained in:
Behdad Esfahbod 2017-08-04 15:17:34 +01:00
parent 16d7791159
commit c7ef8808c4
1 changed files with 0 additions and 7 deletions

View File

@ -2112,9 +2112,6 @@ FcCharSet *
FcFreeTypeCharSetAndSpacing (FT_Face face, FcBlanks *blanks, int *spacing) FcFreeTypeCharSetAndSpacing (FT_Face face, FcBlanks *blanks, int *spacing)
{ {
FcChar32 page, off, ucs4; FcChar32 page, off, ucs4;
#ifdef CHECK
FcChar32 font_max = 0;
#endif
FcCharSet *fcs; FcCharSet *fcs;
FcCharLeaf *leaf; FcCharLeaf *leaf;
int o; int o;
@ -2190,10 +2187,6 @@ FcFreeTypeCharSetAndSpacing (FT_Face face, FcBlanks *blanks, int *spacing)
} }
off = ucs4 & 0xff; off = ucs4 & 0xff;
leaf->map[off >> 5] |= (1 << (off & 0x1f)); leaf->map[off >> 5] |= (1 << (off & 0x1f));
#ifdef CHECK
if (ucs4 > font_max)
font_max = ucs4;
#endif
} }
ucs4 = FT_Get_Next_Char (face, ucs4, &glyph); ucs4 = FT_Get_Next_Char (face, ucs4, &glyph);
} }