From fc3c59a1d746c5280f6216a94fdc1be3e826051f Mon Sep 17 00:00:00 2001 From: Behdad Esfahbod Date: Wed, 8 Apr 2015 13:03:27 -0700 Subject: [PATCH] Fix unused var warnings --- src/hb-ot-layout-gpos-table.hh | 1 - src/hb-ot-layout-gsub-table.hh | 1 - 2 files changed, 2 deletions(-) diff --git a/src/hb-ot-layout-gpos-table.hh b/src/hb-ot-layout-gpos-table.hh index d88f7876e..69609d06c 100644 --- a/src/hb-ot-layout-gpos-table.hh +++ b/src/hb-ot-layout-gpos-table.hh @@ -1450,7 +1450,6 @@ struct PosLookup : Lookup { TRACE_SANITIZE (this); if (unlikely (!Lookup::sanitize (c))) return TRACE_RETURN (false); - const OffsetArrayOf &list = get_subtables (); return TRACE_RETURN (dispatch (c)); } }; diff --git a/src/hb-ot-layout-gsub-table.hh b/src/hb-ot-layout-gsub-table.hh index ebe4c9ec4..ad1339dc6 100644 --- a/src/hb-ot-layout-gsub-table.hh +++ b/src/hb-ot-layout-gsub-table.hh @@ -1222,7 +1222,6 @@ struct SubstLookup : Lookup { TRACE_SANITIZE (this); if (unlikely (!Lookup::sanitize (c))) return TRACE_RETURN (false); - const OffsetArrayOf &list = get_subtables (); if (unlikely (!dispatch (c))) return TRACE_RETURN (false); if (unlikely (get_type () == SubstLookupSubTable::Extension))