Fix unused var warnings

pull/96/head
Behdad Esfahbod 10 years ago
parent 3f174cd020
commit fc3c59a1d7
  1. 1
      src/hb-ot-layout-gpos-table.hh
  2. 1
      src/hb-ot-layout-gsub-table.hh

@ -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));
}
};

@ -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))

Loading…
Cancel
Save