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

This commit is contained in:
Sergey Sharybin 2015-03-27 15:51:21 +05:00
parent 13358d049e
commit 4393b60579
2 changed files with 2 additions and 2 deletions

View File

@ -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 */

View File

@ -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"