[serialize] Minor
authorBehdad Esfahbod <behdad@behdad.org>
Tue, 2 Apr 2019 04:32:29 +0000 (21:32 -0700)
committerBehdad Esfahbod <behdad@behdad.org>
Tue, 2 Apr 2019 04:32:29 +0000 (21:32 -0700)
src/hb-serialize.hh

index 5eb27f0..0bd9f03 100644 (file)
@@ -224,7 +224,7 @@ struct hb_serialize_context_t
   {
     static_assert (sizeof (T) == 2 || sizeof (T) == 4, "");
 
-    if (unlikely (!objidx))
+    if (!objidx)
       return;
 
     assert (current.length);