Remove unused parameter

This commit is contained in:
Behdad Esfahbod 2010-04-23 14:40:36 -04:00
parent 1d720192b1
commit ef66ebeabc
1 changed files with 3 additions and 3 deletions

View File

@ -105,7 +105,7 @@ typedef struct OffsetTable
} }
public: public:
inline bool sanitize (SANITIZE_ARG_DEF, void *base) { inline bool sanitize (SANITIZE_ARG_DEF) {
TRACE_SANITIZE (); TRACE_SANITIZE ();
return SANITIZE_SELF () && SANITIZE_ARRAY (tableDir, TableDirectory::get_size (), numTables); return SANITIZE_SELF () && SANITIZE_ARRAY (tableDir, TableDirectory::get_size (), numTables);
} }
@ -133,7 +133,7 @@ struct TTCHeaderVersion1
inline bool sanitize (SANITIZE_ARG_DEF) { inline bool sanitize (SANITIZE_ARG_DEF) {
TRACE_SANITIZE (); TRACE_SANITIZE ();
return HB_LIKELY (table.sanitize (SANITIZE_ARG, CharP(this), CharP(this))); return SANITIZE_THIS (table);
} }
private: private:
@ -232,7 +232,7 @@ struct OpenTypeFontFile
if (!SANITIZE (u.tag)) return false; if (!SANITIZE (u.tag)) return false;
switch (u.tag) { switch (u.tag) {
case CFFTag: /* All the non-collection tags */ case CFFTag: /* All the non-collection tags */
case TrueTypeTag: return u.fontFace->sanitize (SANITIZE_ARG, CharP(this)); case TrueTypeTag: return u.fontFace->sanitize (SANITIZE_ARG);
case TTCTag: return u.ttcHeader->sanitize (SANITIZE_ARG); case TTCTag: return u.ttcHeader->sanitize (SANITIZE_ARG);
default: return true; default: return true;
} }