From 048ab8a066afd5c472e4a436f5e95016ac0d3649 Mon Sep 17 00:00:00 2001 From: Behdad Esfahbod Date: Sat, 26 Nov 2022 18:00:43 -0700 Subject: [PATCH] [subset-cff] Remove unused bits --- src/hb-subset-cff-common.hh | 7 +------ 1 file changed, 1 insertion(+), 6 deletions(-) diff --git a/src/hb-subset-cff-common.hh b/src/hb-subset-cff-common.hh index b5686b2e9..acd980968 100644 --- a/src/hb-subset-cff-common.hh +++ b/src/hb-subset-cff-common.hh @@ -304,15 +304,11 @@ struct parsed_cs_op_t : op_str_t { subr_num = subr_num_; drop_flag = false; - keep_flag = false; skip_flag = false; } bool for_drop () const { return drop_flag; } - void set_drop () { if (!for_keep ()) drop_flag = true; } - - bool for_keep () const { return keep_flag; } - void set_keep () { keep_flag = true; } + void set_drop () { drop_flag = true; } bool for_skip () const { return skip_flag; } void set_skip () { skip_flag = true; } @@ -322,7 +318,6 @@ struct parsed_cs_op_t : op_str_t protected: bool drop_flag : 1; - bool keep_flag : 1; bool skip_flag : 1; public: