Remove excess sub_format sanitize

This commit is contained in:
Behdad Esfahbod 2010-05-10 23:08:41 -04:00
parent f7adc5e9be
commit 24552ecf92
2 changed files with 0 additions and 2 deletions

View File

@ -1460,7 +1460,6 @@ struct PosLookupSubTable
inline bool sanitize (hb_sanitize_context_t *context, unsigned int lookup_type) { inline bool sanitize (hb_sanitize_context_t *context, unsigned int lookup_type) {
TRACE_SANITIZE (); TRACE_SANITIZE ();
if (!u.sub_format.sanitize (context)) return false;
switch (lookup_type) { switch (lookup_type) {
case Single: return u.single.sanitize (context); case Single: return u.single.sanitize (context);
case Pair: return u.pair.sanitize (context); case Pair: return u.pair.sanitize (context);

View File

@ -732,7 +732,6 @@ struct SubstLookupSubTable
inline bool sanitize (hb_sanitize_context_t *context, unsigned int lookup_type) { inline bool sanitize (hb_sanitize_context_t *context, unsigned int lookup_type) {
TRACE_SANITIZE (); TRACE_SANITIZE ();
if (!u.sub_format.sanitize (context)) return false;
switch (lookup_type) { switch (lookup_type) {
case Single: return u.single.sanitize (context); case Single: return u.single.sanitize (context);
case Multiple: return u.multiple.sanitize (context); case Multiple: return u.multiple.sanitize (context);