From b32f2e8b490b3909c2ba6eb1b97506710efcbe5f Mon Sep 17 00:00:00 2001 From: Evgeniy Reizner Date: Thu, 23 Jul 2020 11:48:19 +0300 Subject: [PATCH] Remove unused code from the Khmer shaper. --- src/hb-ot-shape-complex-khmer.cc | 4 ---- 1 file changed, 4 deletions(-) diff --git a/src/hb-ot-shape-complex-khmer.cc b/src/hb-ot-shape-complex-khmer.cc index fd8a9be97..3da837489 100644 --- a/src/hb-ot-shape-complex-khmer.cc +++ b/src/hb-ot-shape-complex-khmer.cc @@ -161,8 +161,6 @@ struct khmer_shape_plan_t mutable hb_codepoint_t virama_glyph; - hb_indic_would_substitute_feature_t pref; - hb_mask_t mask_array[KHMER_NUM_FEATURES]; }; @@ -175,8 +173,6 @@ data_create_khmer (const hb_ot_shape_plan_t *plan) khmer_plan->virama_glyph = (hb_codepoint_t) -1; - khmer_plan->pref.init (&plan->map, HB_TAG('p','r','e','f'), true); - for (unsigned int i = 0; i < ARRAY_LENGTH (khmer_plan->mask_array); i++) khmer_plan->mask_array[i] = (khmer_features[i].flags & F_GLOBAL) ? 0 : plan->map.get_1_mask (khmer_features[i].tag);