diff options
author | Sergey Sharybin <sergey.vfx@gmail.com> | 2014-07-01 11:07:18 +0400 |
---|---|---|
committer | Sergey Sharybin <sergey.vfx@gmail.com> | 2014-07-01 11:13:11 +0400 |
commit | 3f55de56139ae4c8dfeeb3da7b36a8a1a9055493 (patch) | |
tree | 6d45ada59620ddc459cdcfde4b9a8dc3eb6fe60d /source/blender/imbuf/intern/png.c | |
parent | e9da412454ab5700ec962ba136fc1ef8a5c60503 (diff) |
Fix strict flags compilation
Diffstat (limited to 'source/blender/imbuf/intern/png.c')
-rw-r--r-- | source/blender/imbuf/intern/png.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/source/blender/imbuf/intern/png.c b/source/blender/imbuf/intern/png.c index 23f5cc1fe81..67aeda5d0b9 100644 --- a/source/blender/imbuf/intern/png.c +++ b/source/blender/imbuf/intern/png.c @@ -486,7 +486,7 @@ int imb_savepng(struct ImBuf *ibuf, const char *name, int flags) return(1); } -static void imb_png_warning(png_structp png_ptr, png_const_charp message) +static void imb_png_warning(png_structp UNUSED(png_ptr), png_const_charp message) { /* We supress iCCP warnings. That's how Blender always used to behave, * and with new libpng it became too much picky, giving a warning on @@ -498,7 +498,7 @@ static void imb_png_warning(png_structp png_ptr, png_const_charp message) fprintf(stderr, "libpng warning: %s\n", message); } -static void imb_png_error(png_structp png_ptr, png_const_charp message) +static void imb_png_error(png_structp UNUSED(png_ptr), png_const_charp message) { fprintf(stderr, "libpng error: %s\n", message); } |