[Bf-blender-cvs] [7d3de604c01] master: cycles_render: Fix unused variable build warning with MSVC
Ray Molenkamp
noreply at git.blender.org
Sat May 25 21:06:03 CEST 2019
Commit: 7d3de604c0191f1efa5653740582580bee8598c9
Author: Ray Molenkamp
Date: Sat May 25 13:05:59 2019 -0600
Branches: master
https://developer.blender.org/rB7d3de604c0191f1efa5653740582580bee8598c9
cycles_render: Fix unused variable build warning with MSVC
===================================================================
M intern/cycles/render/colorspace.cpp
===================================================================
diff --git a/intern/cycles/render/colorspace.cpp b/intern/cycles/render/colorspace.cpp
index f4c217bc9fb..2e5b53057c0 100644
--- a/intern/cycles/render/colorspace.cpp
+++ b/intern/cycles/render/colorspace.cpp
@@ -99,7 +99,7 @@ bool ColorSpaceManager::colorspace_is_data(ustring colorspace)
OCIO::ConstColorSpaceRcPtr space = config->getColorSpace(colorspace.c_str());
return space && space->isData();
}
- catch (OCIO::Exception &exception) {
+ catch (OCIO::Exception &) {
return false;
}
#else
More information about the Bf-blender-cvs
mailing list