summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorBehdad Esfahbod <behdad@behdad.org>2017-08-04 15:17:34 +0100
committerBehdad Esfahbod <behdad@behdad.org>2017-09-12 17:02:27 -0400
commitc7ef8808c441c89fe16183fbfdca291f50fc3ec1 (patch)
tree2d911a223e36b603fb4ecae84f275528c09b450f
parent16d779115982012db0c93d8c4c735a9fb7a57dfb (diff)
downloadfontconfig-c7ef8808c441c89fe16183fbfdca291f50fc3ec1.tar.gz
Remove unused variable
-rw-r--r--src/fcfreetype.c7
1 files changed, 0 insertions, 7 deletions
diff --git a/src/fcfreetype.c b/src/fcfreetype.c
index 1115463..f0e2f1c 100644
--- a/src/fcfreetype.c
+++ b/src/fcfreetype.c
@@ -2112,9 +2112,6 @@ FcCharSet *
FcFreeTypeCharSetAndSpacing (FT_Face face, FcBlanks *blanks, int *spacing)
{
FcChar32 page, off, ucs4;
-#ifdef CHECK
- FcChar32 font_max = 0;
-#endif
FcCharSet *fcs;
FcCharLeaf *leaf;
int o;
@@ -2190,10 +2187,6 @@ FcFreeTypeCharSetAndSpacing (FT_Face face, FcBlanks *blanks, int *spacing)
}
off = ucs4 & 0xff;
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);
}