summaryrefslogtreecommitdiff
path: root/src/gdft.c
diff options
context:
space:
mode:
authortabe <none@none>2013-02-12 13:47:20 +0900
committertabe <none@none>2013-02-12 13:47:20 +0900
commitce46d92674b5ae0ef9bd31018a42ca11a35006ec (patch)
tree6176c8915555ec4084a54c5d17623b1fb2613ef5 /src/gdft.c
parent7f772ee7a77a2cbf5b3fbca4525ee309ae4eaa6f (diff)
downloadlibgd-ce46d92674b5ae0ef9bd31018a42ca11a35006ec.tar.gz
fix -Wunused-parameter
Diffstat (limited to 'src/gdft.c')
-rw-r--r--src/gdft.c24
1 files changed, 24 insertions, 0 deletions
diff --git a/src/gdft.c b/src/gdft.c
index 81f7a5e..54b0c1c 100644
--- a/src/gdft.c
+++ b/src/gdft.c
@@ -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 */