summaryrefslogtreecommitdiff
path: root/pango/opentype/harfbuzz-gdef.c
diff options
context:
space:
mode:
Diffstat (limited to 'pango/opentype/harfbuzz-gdef.c')
-rw-r--r--pango/opentype/harfbuzz-gdef.c8
1 files changed, 0 insertions, 8 deletions
diff --git a/pango/opentype/harfbuzz-gdef.c b/pango/opentype/harfbuzz-gdef.c
index 225aa8b9..8fecf4c5 100644
--- a/pango/opentype/harfbuzz-gdef.c
+++ b/pango/opentype/harfbuzz-gdef.c
@@ -776,8 +776,6 @@ static HB_Error Make_ClassRange( HB_ClassDefinition* cd,
crr[index].End = end;
crr[index].Class = class;
- cd->Defined[class] = TRUE;
-
return HB_Err_Ok;
}
@@ -807,11 +805,6 @@ HB_Error HB_GDEF_Build_ClassDefinition( HB_GDEFHeader* gdef,
gcd->ClassFormat = 2;
- /* A GlyphClassDef table contains at most 5 different class values */
-
- if ( ALLOC_ARRAY( gcd->Defined, 5, HB_Bool ) )
- return error;
-
gcd->cd.cd2.ClassRangeCount = 0;
gcd->cd.cd2.ClassRangeRecord = NULL;
@@ -959,7 +952,6 @@ Fail3:
FREE( gcd->cd.cd2.ClassRangeRecord );
Fail4:
- FREE( gcd->Defined );
return error;
}