diff --git a/src/hb-subset-cff-common.hh b/src/hb-subset-cff-common.hh index ab6f9596c..d5bc78c2b 100644 --- a/src/hb-subset-cff-common.hh +++ b/src/hb-subset-cff-common.hh @@ -338,9 +338,8 @@ struct parsed_cs_str_t : parsed_values_t { has_calls_ = true; - unsigned int parsed_len = get_count (); - if (likely (parsed_len > 0)) - values.pop (); + /* Pop the subroutine number. */ + values.pop (); SUPER::add_op (op, str_ref, {subr_num}); }