From fe783ac091b94ff6d0c9060fde229594b4e635e1 Mon Sep 17 00:00:00 2001 From: Behdad Esfahbod Date: Tue, 18 Jan 2022 13:38:28 -0700 Subject: [PATCH] [cff] Remove op_str_t nop init/fini --- src/hb-cff-interp-common.hh | 3 --- src/hb-subset-cff-common.hh | 3 --- 2 files changed, 6 deletions(-) diff --git a/src/hb-cff-interp-common.hh b/src/hb-cff-interp-common.hh index 53c29f7e8..641de0eff 100644 --- a/src/hb-cff-interp-common.hh +++ b/src/hb-cff-interp-common.hh @@ -518,9 +518,6 @@ struct arg_stack_t : cff_stack_t /* an operator prefixed by its operands in a byte string */ struct op_str_t { - void init () {} - void fini () {} - op_code_t op; byte_str_t str; }; diff --git a/src/hb-subset-cff-common.hh b/src/hb-subset-cff-common.hh index 039b1c5a5..18657705f 100644 --- a/src/hb-subset-cff-common.hh +++ b/src/hb-subset-cff-common.hh @@ -299,15 +299,12 @@ struct parsed_cs_op_t : op_str_t { void init (unsigned int subr_num_ = 0) { - op_str_t::init (); subr_num = subr_num_; drop_flag = false; keep_flag = false; skip_flag = false; } - void fini () { op_str_t::fini (); } - bool for_drop () const { return drop_flag; } void set_drop () { if (!for_keep ()) drop_flag = true; }