[libpng16] Silence 'unused parameter' build warnings (Cosmin).

This commit is contained in:
Cosmin Truta
2014-03-22 09:20:53 -05:00
committed by Glenn Randers-Pehrson
parent 372cad05a9
commit 6572c7dab5
4 changed files with 31 additions and 5 deletions

View File

@@ -759,6 +759,9 @@ png_longjmp,(png_const_structrp png_ptr, int val),PNG_NORETURN)
#ifdef PNG_SETJMP_SUPPORTED
if (png_ptr && png_ptr->longjmp_fn && png_ptr->jmp_buf_ptr)
png_ptr->longjmp_fn(*png_ptr->jmp_buf_ptr, val);
#else
PNG_UNUSED(png_ptr)
PNG_UNUSED(val)
#endif
/* If control reaches this point, png_longjmp() must not return. The only