diff options
author | tabe <none@none> | 2013-02-12 13:47:20 +0900 |
---|---|---|
committer | tabe <none@none> | 2013-02-12 13:47:20 +0900 |
commit | ce46d92674b5ae0ef9bd31018a42ca11a35006ec (patch) | |
tree | 6176c8915555ec4084a54c5d17623b1fb2613ef5 /src/gdft.c | |
parent | 7f772ee7a77a2cbf5b3fbca4525ee309ae4eaa6f (diff) | |
download | libgd-ce46d92674b5ae0ef9bd31018a42ca11a35006ec.tar.gz |
fix -Wunused-parameter
Diffstat (limited to 'src/gdft.c')
-rw-r--r-- | src/gdft.c | 24 |
1 files changed, 24 insertions, 0 deletions
@@ -92,12 +92,33 @@ BGD_DECLARE(char *) gdImageStringFTEx (gdImage * im, int *brect, int fg, char *f double ptsize, double angle, int x, int y, char *string, gdFTStringExtraPtr strex) { + (void)im; + (void)brect; + (void)fg; + (void)fontlist; + (void)ptsize; + (void)angle; + (void)x; + (void)y; + (void)string; + (void)strex; + return "libgd was not built with FreeType font support\n"; } BGD_DECLARE(char *) gdImageStringFT (gdImage * im, int *brect, int fg, char *fontlist, double ptsize, double angle, int x, int y, char *string) { + (void)im; + (void)brect; + (void)fg; + (void)fontlist; + (void)ptsize; + (void)angle; + (void)x; + (void)y; + (void)string; + return "libgd was not built with FreeType font support\n"; } #else @@ -105,6 +126,9 @@ BGD_DECLARE(char *) gdImageStringFT (gdImage * im, int *brect, int fg, char *fon #ifndef HAVE_LIBFONTCONFIG static char * font_pattern(char **fontpath, char *fontpattern) { + (void)fontpath; + (void)fontpattern; + return "libgd was not built with FontConfig support\n"; } #endif /* HAVE_LIBFONTCONFIG */ |