summaryrefslogtreecommitdiff
path: root/pngerror.c
diff options
context:
space:
mode:
authorCosmin Truta <ctruta@gmail.com>2014-03-22 09:20:53 -0500
committerGlenn Randers-Pehrson <glennrp at users.sourceforge.net>2014-03-22 09:20:53 -0500
commit6572c7dab5879704559bdd679719c9aa8fa22f81 (patch)
tree6d5c029b212c4ae1531501115e9fd7db75f5c722 /pngerror.c
parent372cad05a9cb6dbfcb3a6549620055240ac69f2a (diff)
downloadlibpng-6572c7dab5879704559bdd679719c9aa8fa22f81.tar.gz
[libpng16] Silence 'unused parameter' build warnings (Cosmin).
Diffstat (limited to 'pngerror.c')
-rw-r--r--pngerror.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/pngerror.c b/pngerror.c
index 7f817d212..e6fab3900 100644
--- a/pngerror.c
+++ b/pngerror.c
@@ -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