diff --git a/src/hb-subset.cc b/src/hb-subset.cc index 946006173..3b022dd44 100644 --- a/src/hb-subset.cc +++ b/src/hb-subset.cc @@ -112,10 +112,6 @@ _subset (hb_subset_plan_t *plan, hb_face_t *source) { OT::Sanitizer sanitizer; hb_blob_t *source_blob = sanitizer.sanitize (source->reference_table (TableType::tableTag)); - if (unlikely(!source_blob)) { - DEBUG_MSG(SUBSET, nullptr, "Failed to reference table for tag %d", TableType::tableTag); - return nullptr; - } const TableType *table = OT::Sanitizer::lock_instance (source_blob); hb_blob_t *result = table->subset(plan, source);