Welcome to mirror list, hosted at ThFree Co, Russian Federation.

git.blender.org/blender.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSergey Sharybin <sergey.vfx@gmail.com>2014-07-01 11:07:18 +0400
committerSergey Sharybin <sergey.vfx@gmail.com>2014-07-01 11:13:11 +0400
commit3f55de56139ae4c8dfeeb3da7b36a8a1a9055493 (patch)
tree6d45ada59620ddc459cdcfde4b9a8dc3eb6fe60d /source/blender/imbuf/intern/png.c
parente9da412454ab5700ec962ba136fc1ef8a5c60503 (diff)
Fix strict flags compilation
Diffstat (limited to 'source/blender/imbuf/intern/png.c')
-rw-r--r--source/blender/imbuf/intern/png.c4
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);
}