diff options
author | tabe <none@none> | 2013-02-11 12:06:21 +0900 |
---|---|---|
committer | tabe <none@none> | 2013-02-11 12:06:21 +0900 |
commit | 535eab566b4a412eef21347653fb98a48857d169 (patch) | |
tree | 63eace35d50039bc46a03edbc22ca3861f6c836b /tests/gdimagestringft | |
parent | c18dfcd3cddcd526b8a4c5de9175049d6276c0e5 (diff) | |
download | libgd-535eab566b4a412eef21347653fb98a48857d169.tar.gz |
fix -Wunused-but-set-variable
Diffstat (limited to 'tests/gdimagestringft')
-rw-r--r-- | tests/gdimagestringft/gdimagestringft_bbox.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/tests/gdimagestringft/gdimagestringft_bbox.c b/tests/gdimagestringft/gdimagestringft_bbox.c index 324d03f..1cad861 100644 --- a/tests/gdimagestringft/gdimagestringft_bbox.c +++ b/tests/gdimagestringft/gdimagestringft_bbox.c @@ -30,7 +30,7 @@ int main() { char path[2048]; gdImagePtr im; - int bg, black; + int black; double cos_t, sin_t; int x, y, temp; int i, j; @@ -40,7 +40,7 @@ int main() sprintf(path, "%s/freetype/DejaVuSans.ttf", GDTEST_TOP_DIR); im = gdImageCreate(800, 800); - bg = gdImageColorAllocate(im, 0xFF, 0xFF, 0xFF); + gdImageColorAllocate(im, 0xFF, 0xFF, 0xFF); /* allocate white for background color */ black = gdImageColorAllocate(im, 0, 0, 0); cos_t = cos(DELTA); sin_t = sin(DELTA); |