From 7d802994be2cc53e5e7fcd90e2eaa9fa497cd12a Mon Sep 17 00:00:00 2001 From: Andy John Date: Mon, 21 Mar 2022 13:55:34 -0700 Subject: [PATCH] Remove null checks. --- src/hb-set.cc | 2 -- 1 file changed, 2 deletions(-) diff --git a/src/hb-set.cc b/src/hb-set.cc index 54c5b2136..6938f8b6c 100644 --- a/src/hb-set.cc +++ b/src/hb-set.cc @@ -72,8 +72,6 @@ hb_set_add_sorted_array (hb_set_t *set, const hb_codepoint_t *sorted_codepoints, unsigned int num_codepoints) { - if (unlikely(!set || !sorted_codepoints || !num_codepoints)) return; - set->add_sorted_array (sorted_codepoints, num_codepoints, sizeof(hb_codepoint_t));