diff --git a/src/hb-subset.cc b/src/hb-subset.cc index 946006173114291f6944874c75cef8d649e5bfbc..3b022dd44d0a469abd11d1dd333780b758157ee1 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);