diff options
author | Ray Molenkamp <github@lazydodo.com> | 2021-02-18 18:09:08 +0300 |
---|---|---|
committer | Ray Molenkamp <github@lazydodo.com> | 2021-02-18 18:09:08 +0300 |
commit | 74383a332b67d745c0d8ae8a422b13ef646a27ae (patch) | |
tree | 81d064c20f48502ebad8cf70f6a1afb325971aef /intern/cycles | |
parent | f521aa445da44a6858fabac403d31390bf5ff523 (diff) |
Cleanup: Fix unused variable warning
exception was not used and can be safely removed
Diffstat (limited to 'intern/cycles')
-rw-r--r-- | intern/cycles/render/shader.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
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; } |