From f84342c094727a41be6225d484d30170d1ddf118 Mon Sep 17 00:00:00 2001 From: Michiharu Ariza Date: Thu, 28 Mar 2019 16:17:36 -0700 Subject: [PATCH] minor --- src/hb-ot-var-hvar-table.hh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/hb-ot-var-hvar-table.hh b/src/hb-ot-var-hvar-table.hh index f83712702..90c287049 100644 --- a/src/hb-ot-var-hvar-table.hh +++ b/src/hb-ot-var-hvar-table.hh @@ -182,7 +182,7 @@ struct index_map_subset_plan_t last_gid = gid; } - if (last_gid == (hb_codepoint_t)-1) return; + if (unlikely (last_gid == (hb_codepoint_t)-1)) return; map_count = last_gid; for (gid = 0; gid < map_count; gid++) {