diff options
author | Behdad Esfahbod <behdad@behdad.org> | 2012-12-29 22:32:56 -0500 |
---|---|---|
committer | Behdad Esfahbod <behdad@behdad.org> | 2012-12-29 22:32:56 -0500 |
commit | 83d8019011232d491df93cda97a2f988ee96005b (patch) | |
tree | 7a7928ab5aacdf71721be49fa3c2eed8b6e1f31f /src/fcmatch.c | |
parent | 24cdcf52ab7f83b329072efacbdd9253991579c0 (diff) | |
download | fontconfig-83d8019011232d491df93cda97a2f988ee96005b.tar.gz |
Fix unused-parameter warnings
Diffstat (limited to 'src/fcmatch.c')
-rw-r--r-- | src/fcmatch.c | 9 |
1 files changed, 4 insertions, 5 deletions
diff --git a/src/fcmatch.c b/src/fcmatch.c index caa8588..ed245c6 100644 --- a/src/fcmatch.c +++ b/src/fcmatch.c @@ -563,8 +563,7 @@ FcFontRenderPrepare (FcConfig *config, } static FcPattern * -FcFontSetMatchInternal (FcConfig *config, - FcFontSet **sets, +FcFontSetMatchInternal (FcFontSet **sets, int nsets, FcPattern *p, FcResult *result) @@ -658,7 +657,7 @@ FcFontSetMatch (FcConfig *config, if (!config) return 0; } - best = FcFontSetMatchInternal (config, sets, nsets, p, result); + best = FcFontSetMatchInternal (sets, nsets, p, result); if (best) return FcFontRenderPrepare (config, p, best); else @@ -691,7 +690,7 @@ FcFontMatch (FcConfig *config, if (config->fonts[FcSetApplication]) sets[nsets++] = config->fonts[FcSetApplication]; - best = FcFontSetMatchInternal (config, sets, nsets, p, result); + best = FcFontSetMatchInternal (sets, nsets, p, result); if (best) return FcFontRenderPrepare (config, p, best); else @@ -794,7 +793,7 @@ FcFontSetSortDestroy (FcFontSet *fs) } FcFontSet * -FcFontSetSort (FcConfig *config, +FcFontSetSort (FcConfig *config FC_UNUSED, FcFontSet **sets, int nsets, FcPattern *p, |