diff --git a/intern/cycles/render/shader.cpp b/intern/cycles/render/shader.cpp index 847f97fb2bf..ea83073d5ce 100644 --- a/intern/cycles/render/shader.cpp +++ b/intern/cycles/render/shader.cpp @@ -807,7 +807,7 @@ static bool to_scene_linear_transform(OCIO::ConstConfigRcPtr &config, try { processor = config->getProcessor(OCIO::ROLE_SCENE_LINEAR, colorspace); } - catch (OCIO::Exception &exception) { + catch (OCIO::Exception &) { return false; }