From c7ef8808c441c89fe16183fbfdca291f50fc3ec1 Mon Sep 17 00:00:00 2001 From: Behdad Esfahbod Date: Fri, 4 Aug 2017 15:17:34 +0100 Subject: [PATCH] Remove unused variable --- src/fcfreetype.c | 7 ------- 1 file changed, 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); }