diff --git a/src/hb-ot-layout-gpos-private.hh b/src/hb-ot-layout-gpos-private.hh index c8148937a..f02824513 100644 --- a/src/hb-ot-layout-gpos-private.hh +++ b/src/hb-ot-layout-gpos-private.hh @@ -1460,7 +1460,6 @@ struct PosLookupSubTable inline bool sanitize (hb_sanitize_context_t *context, unsigned int lookup_type) { TRACE_SANITIZE (); - if (!u.sub_format.sanitize (context)) return false; switch (lookup_type) { case Single: return u.single.sanitize (context); case Pair: return u.pair.sanitize (context); diff --git a/src/hb-ot-layout-gsub-private.hh b/src/hb-ot-layout-gsub-private.hh index 494e2deab..849a20c1c 100644 --- a/src/hb-ot-layout-gsub-private.hh +++ b/src/hb-ot-layout-gsub-private.hh @@ -732,7 +732,6 @@ struct SubstLookupSubTable inline bool sanitize (hb_sanitize_context_t *context, unsigned int lookup_type) { TRACE_SANITIZE (); - if (!u.sub_format.sanitize (context)) return false; switch (lookup_type) { case Single: return u.single.sanitize (context); case Multiple: return u.multiple.sanitize (context);