summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorBehdad Esfahbod <behdad@behdad.org>2010-04-23 14:40:36 -0400
committerBehdad Esfahbod <behdad@behdad.org>2010-04-23 14:40:36 -0400
commitef66ebeabc6c234004bd9e9bb67eb5c9711f4a1e (patch)
tree489c79552b6273053a3ab04e70c0118c7642ed06
parent1d720192b193f48b44be0385eda3c2c5d5cd28ad (diff)
Remove unused parameter
-rw-r--r--src/hb-open-file-private.hh6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/hb-open-file-private.hh b/src/hb-open-file-private.hh
index 7b2481b..b6e282d 100644
--- a/src/hb-open-file-private.hh
+++ b/src/hb-open-file-private.hh
@@ -105,7 +105,7 @@ typedef struct OffsetTable
}
public:
- inline bool sanitize (SANITIZE_ARG_DEF, void *base) {
+ inline bool sanitize (SANITIZE_ARG_DEF) {
TRACE_SANITIZE ();
return SANITIZE_SELF () && SANITIZE_ARRAY (tableDir, TableDirectory::get_size (), numTables);
}
@@ -133,7 +133,7 @@ struct TTCHeaderVersion1
inline bool sanitize (SANITIZE_ARG_DEF) {
TRACE_SANITIZE ();
- return HB_LIKELY (table.sanitize (SANITIZE_ARG, CharP(this), CharP(this)));
+ return SANITIZE_THIS (table);
}
private:
@@ -232,7 +232,7 @@ struct OpenTypeFontFile
if (!SANITIZE (u.tag)) return false;
switch (u.tag) {
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);
default: return true;
}