[varc] Remove unnecessary check

As usual, our operator[] takes care of it.
pull/4578/head
Behdad Esfahbod 11 months ago
parent e451b6cbff
commit 88eab447db
  1. 2
      src/hb-ot-layout-common.hh

@ -3135,8 +3135,6 @@ struct MultiVarData
SparseVarRegionList::cache_t *cache = nullptr) const
{
auto &deltaSets = StructAfter<decltype (deltaSetsX)> (regionIndices);
if (unlikely (inner >= deltaSets.count))
return;
hb_vector_t<int> values_vector = deltaSets[inner];
int *values = values_vector.arrayZ;

Loading…
Cancel
Save