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/gdimagefilledrectangle | |
parent | c18dfcd3cddcd526b8a4c5de9175049d6276c0e5 (diff) | |
download | libgd-535eab566b4a412eef21347653fb98a48857d169.tar.gz |
fix -Wunused-but-set-variable
Diffstat (limited to 'tests/gdimagefilledrectangle')
-rw-r--r-- | tests/gdimagefilledrectangle/bug00004.c | 3 | ||||
-rw-r--r-- | tests/gdimagefilledrectangle/bug00078.c | 3 |
2 files changed, 4 insertions, 2 deletions
diff --git a/tests/gdimagefilledrectangle/bug00004.c b/tests/gdimagefilledrectangle/bug00004.c index 1501e64..d0681bb 100644 --- a/tests/gdimagefilledrectangle/bug00004.c +++ b/tests/gdimagefilledrectangle/bug00004.c @@ -17,7 +17,8 @@ int main() gdImageDestroy(im); if (0x005e5e5e == c1 && 0x005e5e5e == c2 && - 0x005e5e5e == c3 && 0x005e5e5e == c4) { + 0x005e5e5e == c3 && 0x005e5e5e == c4 && + 0x005e5e5e == c5) { return 0; } else { return 1; diff --git a/tests/gdimagefilledrectangle/bug00078.c b/tests/gdimagefilledrectangle/bug00078.c index 009ab40..2ed1dcf 100644 --- a/tests/gdimagefilledrectangle/bug00078.c +++ b/tests/gdimagefilledrectangle/bug00078.c @@ -28,7 +28,8 @@ int main() c5 = gdImageGetTrueColorPixel(im, 49, 49); if (!(0x005e5e5e == c1 && 0x005e5e5e == c2 && - 0x005e5e5e == c3 && 0x005e5e5e == c4)) { + 0x005e5e5e == c3 && 0x005e5e5e == c4 && + 0x005e5e5e == c5)) { return 1; } |