From 88eab447dbb0de013399942f8748de794bda2260 Mon Sep 17 00:00:00 2001 From: Behdad Esfahbod Date: Sat, 23 Mar 2024 08:28:09 -0600 Subject: [PATCH] [varc] Remove unnecessary check As usual, our operator[] takes care of it. --- src/hb-ot-layout-common.hh | 2 -- 1 file changed, 2 deletions(-) diff --git a/src/hb-ot-layout-common.hh b/src/hb-ot-layout-common.hh index 2af747386..d1b33fbc7 100644 --- a/src/hb-ot-layout-common.hh +++ b/src/hb-ot-layout-common.hh @@ -3135,8 +3135,6 @@ struct MultiVarData SparseVarRegionList::cache_t *cache = nullptr) const { auto &deltaSets = StructAfter (regionIndices); - if (unlikely (inner >= deltaSets.count)) - return; hb_vector_t values_vector = deltaSets[inner]; int *values = values_vector.arrayZ;