summaryrefslogtreecommitdiff
path: root/pango/opentype/hb-open-types-private.hh
diff options
context:
space:
mode:
authorBehdad Esfahbod <behdad@behdad.org>2009-08-04 21:42:23 -0400
committerBehdad Esfahbod <behdad@behdad.org>2009-08-04 21:42:23 -0400
commit50295f03b7684e5fb72e3446d0ae3dcf3cacb384 (patch)
treecb4ed8a6ec0e8424d7c431e12ca0064cd19021e3 /pango/opentype/hb-open-types-private.hh
parentcb971493ec7013eaee032cbc6e3f399a413808fb (diff)
downloadpango-50295f03b7684e5fb72e3446d0ae3dcf3cacb384.tar.gz
[HB] Fix warnings
Diffstat (limited to 'pango/opentype/hb-open-types-private.hh')
-rw-r--r--pango/opentype/hb-open-types-private.hh5
1 files changed, 5 insertions, 0 deletions
diff --git a/pango/opentype/hb-open-types-private.hh b/pango/opentype/hb-open-types-private.hh
index 1af7c08a..05619df3 100644
--- a/pango/opentype/hb-open-types-private.hh
+++ b/pango/opentype/hb-open-types-private.hh
@@ -484,6 +484,7 @@ struct GenericArrayOf
if (!SANITIZE (array[i]))
return false;
*/
+ return true;
}
inline bool sanitize (SANITIZE_ARG_DEF, const void *base) {
if (!SANITIZE_GET_SIZE()) return false;
@@ -491,6 +492,7 @@ struct GenericArrayOf
for (unsigned int i = 0; i < count; i++)
if (!array[i].sanitize (SANITIZE_ARG, base))
return false;
+ return true;
}
inline bool sanitize (SANITIZE_ARG_DEF, const void *base, const void *base2) {
if (!SANITIZE_GET_SIZE()) return false;
@@ -498,6 +500,7 @@ struct GenericArrayOf
for (unsigned int i = 0; i < count; i++)
if (!array[i].sanitize (SANITIZE_ARG, base, base2))
return false;
+ return true;
}
inline bool sanitize (SANITIZE_ARG_DEF, const void *base, unsigned int user_data) {
if (!SANITIZE_GET_SIZE()) return false;
@@ -505,6 +508,7 @@ struct GenericArrayOf
for (unsigned int i = 0; i < count; i++)
if (!array[i].sanitize (SANITIZE_ARG, base, user_data))
return false;
+ return true;
}
LenType len;
@@ -552,6 +556,7 @@ struct HeadlessArrayOf
if (!SANITIZE (array[i]))
return false;
*/
+ return true;
}
USHORT len;