diff options
author | Cosmin Truta <ctruta@gmail.com> | 2014-03-22 09:20:53 -0500 |
---|---|---|
committer | Glenn Randers-Pehrson <glennrp at users.sourceforge.net> | 2014-03-22 09:20:53 -0500 |
commit | 6572c7dab5879704559bdd679719c9aa8fa22f81 (patch) | |
tree | 6d5c029b212c4ae1531501115e9fd7db75f5c722 /pngerror.c | |
parent | 372cad05a9cb6dbfcb3a6549620055240ac69f2a (diff) | |
download | libpng-6572c7dab5879704559bdd679719c9aa8fa22f81.tar.gz |
[libpng16] Silence 'unused parameter' build warnings (Cosmin).
Diffstat (limited to 'pngerror.c')
-rw-r--r-- | pngerror.c | 3 |
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 |