diff --git a/intern/opencolorio/fallback_impl.cc b/intern/opencolorio/fallback_impl.cc index 47386bb482d..6b1ca9cbd15 100644 --- a/intern/opencolorio/fallback_impl.cc +++ b/intern/opencolorio/fallback_impl.cc @@ -395,6 +395,6 @@ void FallbackImpl::finishGLSLDraw(OCIO_GLSLDrawState * /*state*/) { } -void FallbackImpl::freeGLState(struct OCIO_GLSLDrawState * /*state*/_r) +void FallbackImpl::freeGLState(struct OCIO_GLSLDrawState * /*state_r*/) { } diff --git a/intern/opencolorio/ocio_impl.cc b/intern/opencolorio/ocio_impl.cc index 0402c4ee5cf..068a02dcb9b 100644 --- a/intern/opencolorio/ocio_impl.cc +++ b/intern/opencolorio/ocio_impl.cc @@ -58,8 +58,6 @@ using namespace OCIO_NAMESPACE; #define MEM_NEW(type) new(MEM_mallocN(sizeof(type), __func__)) type() #define MEM_DELETE(what, type) if (what) { ((type*)(what))->~type(); MEM_freeN(what); } (void)0 -static const int LUT3D_EDGE_SIZE = 32; - static void OCIO_reportError(const char *err) { std::cerr << "OpenColorIO Error: " << err << std::endl;