From b416dc5fc817e4ae5048100b075165b6bf995082 Mon Sep 17 00:00:00 2001 From: John Bowler Date: Wed, 6 Jan 2016 12:58:01 -0800 Subject: [PATCH] Mark 'limit' UNUSED in transform_range_check Only affects release builds Signed-off-by: John Bowler --- contrib/libtests/pngvalid.c | 2 ++ 1 file changed, 2 insertions(+) diff --git a/contrib/libtests/pngvalid.c b/contrib/libtests/pngvalid.c index 36d80e901..407a0f66e 100644 --- a/contrib/libtests/pngvalid.c +++ b/contrib/libtests/pngvalid.c @@ -6370,6 +6370,8 @@ transform_range_check(png_const_structp pp, unsigned int r, unsigned int g, png_error(pp, message); } + + UNUSED(limit) } static void