[cff] Remove op_str_t nop init/fini

This commit is contained in:
Behdad Esfahbod 2022-01-18 13:38:28 -07:00
parent 8d24ac2662
commit fe783ac091
2 changed files with 0 additions and 6 deletions

View File

@ -518,9 +518,6 @@ struct arg_stack_t : cff_stack_t<ARG, 513>
/* 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;
};

View File

@ -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; }