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 void
FcBlanksDestroy (FcBlanks *b) FcBlanksDestroy (FcBlanks *b FC_UNUSED)
{ {
/* Deprecated. */ /* Deprecated. */
} }
FcBool FcBool
FcBlanksAdd (FcBlanks *b, FcChar32 ucs4) FcBlanksAdd (FcBlanks *b FC_UNUSED, FcChar32 ucs4 FC_UNUSED)
{ {
/* Deprecated. */ /* Deprecated. */
return FcFalse; return FcFalse;
} }
FcBool FcBool
FcBlanksIsMember (FcBlanks *b, FcChar32 ucs4) FcBlanksIsMember (FcBlanks *b FC_UNUSED, FcChar32 ucs4 FC_UNUSED)
{ {
/* Deprecated. */ /* Deprecated. */
return FcFalse; return FcFalse;
} }
FcBlanks * FcBlanks *
FcConfigGetBlanks (FcConfig *config) FcConfigGetBlanks (FcConfig *config FC_UNUSED)
{ {
/* Deprecated. */ /* Deprecated. */
return NULL; return NULL;
} }
FcBool FcBool
FcConfigAddBlank (FcConfig *config, FcConfigAddBlank (FcConfig *config FC_UNUSED,
FcChar32 blank) FcChar32 blank FC_UNUSED)
{ {
/* Deprecated. */ /* Deprecated. */
return FcFalse; return FcFalse;

View File

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