提交 4206e951 编写于 作者: B Behdad Esfahbod

More warning fixes

上级 ef66ebea
...@@ -595,8 +595,8 @@ hb_ot_layout_position_lookup (hb_font_t *font, ...@@ -595,8 +595,8 @@ hb_ot_layout_position_lookup (hb_font_t *font,
} }
void void
hb_ot_layout_position_finish (hb_font_t *font, hb_ot_layout_position_finish (hb_font_t *font HB_GNUC_UNUSED,
hb_face_t *face, hb_face_t *face HB_GNUC_UNUSED,
hb_buffer_t *buffer) hb_buffer_t *buffer)
{ {
unsigned int i, j; unsigned int i, j;
......
...@@ -68,8 +68,7 @@ cmp_lookups (const void *p1, const void *p2) ...@@ -68,8 +68,7 @@ cmp_lookups (const void *p1, const void *p2)
} }
static void static void
setup_lookups (hb_font_t *font, setup_lookups (hb_face_t *face,
hb_face_t *face,
hb_buffer_t *buffer, hb_buffer_t *buffer,
hb_feature_t *features, hb_feature_t *features,
unsigned int num_features, unsigned int num_features,
...@@ -115,7 +114,7 @@ setup_lookups (hb_font_t *font, ...@@ -115,7 +114,7 @@ setup_lookups (hb_font_t *font,
hb_bool_t hb_bool_t
_hb_ot_substitute_complex (hb_font_t *font, _hb_ot_substitute_complex (hb_font_t *font HB_GNUC_UNUSED,
hb_face_t *face, hb_face_t *face,
hb_buffer_t *buffer, hb_buffer_t *buffer,
hb_feature_t *features, hb_feature_t *features,
...@@ -128,7 +127,7 @@ _hb_ot_substitute_complex (hb_font_t *font, ...@@ -128,7 +127,7 @@ _hb_ot_substitute_complex (hb_font_t *font,
if (!hb_ot_layout_has_substitution (face)) if (!hb_ot_layout_has_substitution (face))
return FALSE; return FALSE;
setup_lookups (font, face, buffer, features, num_features, setup_lookups (face, buffer, features, num_features,
HB_OT_TAG_GSUB, HB_OT_TAG_GSUB,
lookups, &num_lookups); lookups, &num_lookups);
...@@ -152,7 +151,7 @@ _hb_ot_position_complex (hb_font_t *font, ...@@ -152,7 +151,7 @@ _hb_ot_position_complex (hb_font_t *font,
if (!hb_ot_layout_has_positioning (face)) if (!hb_ot_layout_has_positioning (face))
return FALSE; return FALSE;
setup_lookups (font, face, buffer, features, num_features, setup_lookups (face, buffer, features, num_features,
HB_OT_TAG_GPOS, HB_OT_TAG_GPOS,
lookups, &num_lookups); lookups, &num_lookups);
......
...@@ -113,8 +113,8 @@ static void ...@@ -113,8 +113,8 @@ static void
hb_substitute_default (hb_font_t *font, hb_substitute_default (hb_font_t *font,
hb_face_t *face, hb_face_t *face,
hb_buffer_t *buffer, hb_buffer_t *buffer,
hb_feature_t *features, hb_feature_t *features HB_GNUC_UNUSED,
unsigned int num_features) unsigned int num_features HB_GNUC_UNUSED)
{ {
hb_mirror_chars (buffer); hb_mirror_chars (buffer);
hb_map_glyphs (font, face, buffer); hb_map_glyphs (font, face, buffer);
...@@ -131,11 +131,11 @@ hb_substitute_complex (hb_font_t *font, ...@@ -131,11 +131,11 @@ hb_substitute_complex (hb_font_t *font,
} }
static void static void
hb_substitute_fallback (hb_font_t *font, hb_substitute_fallback (hb_font_t *font HB_GNUC_UNUSED,
hb_face_t *face, hb_face_t *face HB_GNUC_UNUSED,
hb_buffer_t *buffer, hb_buffer_t *buffer HB_GNUC_UNUSED,
hb_feature_t *features, hb_feature_t *features HB_GNUC_UNUSED,
unsigned int num_features) unsigned int num_features HB_GNUC_UNUSED)
{ {
/* TODO Arabic */ /* TODO Arabic */
} }
...@@ -147,8 +147,8 @@ static void ...@@ -147,8 +147,8 @@ static void
hb_position_default (hb_font_t *font, hb_position_default (hb_font_t *font,
hb_face_t *face, hb_face_t *face,
hb_buffer_t *buffer, hb_buffer_t *buffer,
hb_feature_t *features, hb_feature_t *features HB_GNUC_UNUSED,
unsigned int num_features) unsigned int num_features HB_GNUC_UNUSED)
{ {
unsigned int count; unsigned int count;
...@@ -174,11 +174,11 @@ hb_position_complex (hb_font_t *font, ...@@ -174,11 +174,11 @@ hb_position_complex (hb_font_t *font,
} }
static void static void
hb_position_fallback (hb_font_t *font, hb_position_fallback (hb_font_t *font HB_GNUC_UNUSED,
hb_face_t *face, hb_face_t *face HB_GNUC_UNUSED,
hb_buffer_t *buffer, hb_buffer_t *buffer HB_GNUC_UNUSED,
hb_feature_t *features, hb_feature_t *features HB_GNUC_UNUSED,
unsigned int num_features) unsigned int num_features HB_GNUC_UNUSED)
{ {
/* TODO Mark pos */ /* TODO Mark pos */
} }
...@@ -187,8 +187,8 @@ static void ...@@ -187,8 +187,8 @@ static void
hb_truetype_kern (hb_font_t *font, hb_truetype_kern (hb_font_t *font,
hb_face_t *face, hb_face_t *face,
hb_buffer_t *buffer, hb_buffer_t *buffer,
hb_feature_t *features, hb_feature_t *features HB_GNUC_UNUSED,
unsigned int num_features) unsigned int num_features HB_GNUC_UNUSED)
{ {
unsigned int count; unsigned int count;
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册