Welcome to mirror list, hosted at ThFree Co, Russian Federation.

git.blender.org/blender.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
path: root/intern
diff options
context:
space:
mode:
authorRay Molenkamp <github@lazydodo.com>2021-02-18 18:09:08 +0300
committerRay Molenkamp <github@lazydodo.com>2021-02-18 18:09:08 +0300
commit74383a332b67d745c0d8ae8a422b13ef646a27ae (patch)
tree81d064c20f48502ebad8cf70f6a1afb325971aef /intern
parentf521aa445da44a6858fabac403d31390bf5ff523 (diff)
Cleanup: Fix unused variable warning
exception was not used and can be safely removed
Diffstat (limited to 'intern')
-rw-r--r--intern/cycles/render/shader.cpp2
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;
}