[Bf-blender-cvs] [4393b60] master: ImBuf: Code cleanup, prepare for strict C++ flags

Sergey Sharybin noreply at git.blender.org
Fri Mar 27 14:24:05 CET 2015


Commit: 4393b605795e3df89addd82e2492b0bdf166d707
Author: Sergey Sharybin
Date:   Fri Mar 27 15:51:21 2015 +0500
Branches: master
https://developer.blender.org/rB4393b605795e3df89addd82e2492b0bdf166d707

ImBuf: Code cleanup, prepare for strict C++ flags

===================================================================

M	source/blender/imbuf/intern/dds/dds_api.cpp
M	source/blender/imbuf/intern/oiio/openimageio_api.cpp

===================================================================

diff --git a/source/blender/imbuf/intern/dds/dds_api.cpp b/source/blender/imbuf/intern/dds/dds_api.cpp
index a6d53ff..45d9fa2 100644
--- a/source/blender/imbuf/intern/dds/dds_api.cpp
+++ b/source/blender/imbuf/intern/dds/dds_api.cpp
@@ -47,7 +47,7 @@ extern "C" {
 #include "IMB_colormanagement.h"
 #include "IMB_colormanagement_intern.h"
 
-int imb_save_dds(struct ImBuf *ibuf, const char *name, int flags)
+int imb_save_dds(struct ImBuf *ibuf, const char *name, int /*flags*/)
 {
 	return(0); /* todo: finish this function */
 
diff --git a/source/blender/imbuf/intern/oiio/openimageio_api.cpp b/source/blender/imbuf/intern/oiio/openimageio_api.cpp
index 6e3f97a..7728183 100644
--- a/source/blender/imbuf/intern/oiio/openimageio_api.cpp
+++ b/source/blender/imbuf/intern/oiio/openimageio_api.cpp
@@ -182,7 +182,7 @@ int imb_is_a_photoshop(const char *filename)
 	return BLI_testextensie_array(filename, photoshop_extension);
 }
 
-int imb_save_photoshop(struct ImBuf *ibuf, const char *name, int flags)
+int imb_save_photoshop(struct ImBuf *ibuf, const char * /*name*/, int flags)
 {
 	if (flags & IB_mem) {
 		std::cerr << __func__ << ": Photoshop PSD-save: Create PSD in memory"




More information about the Bf-blender-cvs mailing list