Fix unused var warnings
authorBehdad Esfahbod <behdad@behdad.org>
Wed, 8 Apr 2015 20:03:27 +0000 (13:03 -0700)
committerBehdad Esfahbod <behdad@behdad.org>
Wed, 8 Apr 2015 20:04:29 +0000 (13:04 -0700)
src/hb-ot-layout-gpos-table.hh
src/hb-ot-layout-gsub-table.hh

index d88f787..69609d0 100644 (file)
@@ -1450,7 +1450,6 @@ struct PosLookup : Lookup
   {
     TRACE_SANITIZE (this);
     if (unlikely (!Lookup::sanitize (c))) return TRACE_RETURN (false);
-    const OffsetArrayOf<PosLookupSubTable> &list = get_subtables<PosLookupSubTable> ();
     return TRACE_RETURN (dispatch (c));
   }
 };
index ebe4c9e..ad1339d 100644 (file)
@@ -1222,7 +1222,6 @@ struct SubstLookup : Lookup
   {
     TRACE_SANITIZE (this);
     if (unlikely (!Lookup::sanitize (c))) return TRACE_RETURN (false);
-    const OffsetArrayOf<SubstLookupSubTable> &list = get_subtables<SubstLookupSubTable> ();
     if (unlikely (!dispatch (c))) return TRACE_RETURN (false);
 
     if (unlikely (get_type () == SubstLookupSubTable::Extension))