summaryrefslogtreecommitdiff
path: root/pngtest.c
diff options
context:
space:
mode:
Diffstat (limited to 'pngtest.c')
-rw-r--r--pngtest.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/pngtest.c b/pngtest.c
index 9c1ae770a..4a7b21fba 100644
--- a/pngtest.c
+++ b/pngtest.c
@@ -382,7 +382,7 @@ static void
pngtest_flush(png_structp png_ptr)
{
/* Do nothing; fflush() is said to be just a waste of energy. */
- png_ptr = png_ptr; /* Stifle compiler warning */
+ PNG_UNUSED(png_ptr) /* Stifle compiler warning */
}
#endif
@@ -1702,4 +1702,4 @@ main(int argc, char *argv[])
}
/* Generate a compiler error if there is an old png.h in the search path. */
-typedef version_1_2_51rc02 your_png_h_is_not_version_1_2_51rc02;
+typedef version_1_2_51rc03 your_png_h_is_not_version_1_2_51rc03;