Mark more parameters FC_UNUSED

This commit is contained in:
Behdad Esfahbod 2017-08-04 16:36:12 +01:00
parent f5bea1e602
commit 894e5675c8
2 changed files with 9 additions and 9 deletions

View File

@ -572,35 +572,35 @@ FcBlanksCreate (void)
}
void
FcBlanksDestroy (FcBlanks *b)
FcBlanksDestroy (FcBlanks *b FC_UNUSED)
{
/* Deprecated. */
}
FcBool
FcBlanksAdd (FcBlanks *b, FcChar32 ucs4)
FcBlanksAdd (FcBlanks *b FC_UNUSED, FcChar32 ucs4 FC_UNUSED)
{
/* Deprecated. */
return FcFalse;
}
FcBool
FcBlanksIsMember (FcBlanks *b, FcChar32 ucs4)
FcBlanksIsMember (FcBlanks *b FC_UNUSED, FcChar32 ucs4 FC_UNUSED)
{
/* Deprecated. */
return FcFalse;
}
FcBlanks *
FcConfigGetBlanks (FcConfig *config)
FcConfigGetBlanks (FcConfig *config FC_UNUSED)
{
/* Deprecated. */
return NULL;
}
FcBool
FcConfigAddBlank (FcConfig *config,
FcChar32 blank)
FcConfigAddBlank (FcConfig *config FC_UNUSED,
FcChar32 blank FC_UNUSED)
{
/* Deprecated. */
return FcFalse;

View File

@ -1158,7 +1158,7 @@ FcPattern *
FcFreeTypeQueryFace (const FT_Face face,
const FcChar8 *file,
int id,
FcBlanks *blanks)
FcBlanks *blanks FC_UNUSED)
{
FcPattern *pat;
int slant = -1;
@ -2109,7 +2109,7 @@ FcFreeTypeCheckGlyph (FT_Face face,
#define APPROXIMATELY_EQUAL(x,y) (FC_ABS ((x) - (y)) <= FC_MAX (FC_ABS (x), FC_ABS (y)) / 33)
FcCharSet *
FcFreeTypeCharSetAndSpacing (FT_Face face, FcBlanks *blanks, int *spacing)
FcFreeTypeCharSetAndSpacing (FT_Face face, FcBlanks *blanks FC_UNUSED, int *spacing)
{
FcChar32 page, off, ucs4;
FcCharSet *fcs;
@ -2238,7 +2238,7 @@ bail0:
}
FcCharSet *
FcFreeTypeCharSet (FT_Face face, FcBlanks *blanks)
FcFreeTypeCharSet (FT_Face face, FcBlanks *blanks FC_UNUSED)
{
int spacing;