Minor
authorBehdad Esfahbod <behdad@behdad.org>
Wed, 12 Dec 2018 04:07:48 +0000 (23:07 -0500)
committerBehdad Esfahbod <behdad@behdad.org>
Wed, 12 Dec 2018 04:07:48 +0000 (23:07 -0500)
src/hb-open-type.hh

index b9d917d..302ba9f 100644 (file)
@@ -262,7 +262,6 @@ struct OffsetTo : Offset<OffsetType, has_null>
   }
   inline Type& operator () (void *base) const
   {
-    if (unlikely (this->is_null ())) return Crap (Type);
     if (unlikely (this->is_null ())) return *_hb_has_null<Type, has_null>::get_crap ();
     return StructAtOffset<Type> (base, *this);
   }